aboutsummaryrefslogtreecommitdiffstats
path: root/script/switch-theme.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-11-29 10:41:32 +0000
committerMark Longair <mhl@pobox.com>2013-11-29 10:41:32 +0000
commit20089cf7b5045d504b7240bc92e2b6068fcc2246 (patch)
tree3bcd6c7e7b43515abae18c5baaab853d124cc7bb /script/switch-theme.rb
parentc64692cd3d10f7432c9d5350610a6799b1e1419b (diff)
With Rails 3.2, switching theme requires asset recompilation
Diffstat (limited to 'script/switch-theme.rb')
-rwxr-xr-xscript/switch-theme.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/script/switch-theme.rb b/script/switch-theme.rb
index 47f81c7a8..03d59a2f9 100755
--- a/script/switch-theme.rb
+++ b/script/switch-theme.rb
@@ -117,4 +117,8 @@ symlink(full_theme_path,
requested_theme)
STDERR.puts """Switched to #{requested_theme}!
-You will need to restart any development server you have running."""
+You will need to:
+ 1. restart any development server you have running.
+ 2. run: bundle exec rake assets:clean
+ 3. run: bundle exec rake assets:precompile
+"""