Commit ec5b5c69

mo k <m@mokhan.ca>
2011-09-22 02:30:52
set config.assets.compile to false in production settings.
1 parent 30f88a2
Changed files (1)
capfile
@@ -2,6 +2,7 @@ load 'deploy' if respond_to?(:namespace) # cap2 differentiator
 Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
 
 load 'config/deploy' # remove this line to skip loading any of the default tasks
+load 'deploy/assets'
 
 task :search_libs, :roles => :web do
   run "ls -x1 /usr/lib | grep -i xml"
@@ -25,7 +26,7 @@ task :start_sphinx, :roles => :app do
 end
 
 task :index_sphinx, :roles => :app do
-  run "cd #{current_path} && rvm use 1.9.2 && rake thinking_sphinx:index RAILS_ENV=production"
+  run "cd #{current_path} && rake thinking_sphinx:index RAILS_ENV=production"
 end
 
 task :restart_sphinx, :roles => :app do