gem 'rvm-capistrano', :group => :test
gem 'acts_as_api'
+
+gem 'passenger', :group => :production
coffee-script-source
execjs
coffee-script-source (1.4.0)
+ daemon_controller (1.1.0)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
+ fastthread (1.0.7)
highline (1.6.15)
hike (1.2.1)
i18n (0.6.1)
net-ssh (2.6.3)
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
+ passenger (3.0.19)
+ daemon_controller (>= 1.0.0)
+ fastthread (>= 1.0.1)
+ rack
+ rake (>= 0.8.1)
pg (0.14.1)
polyglot (0.3.3)
- rack (1.3.8)
+ rack (1.3.9)
rack-cache (1.2)
rack (>= 0.4)
rack-mount (0.8.3)
coffee-rails (~> 3.1.1)
jquery-rails
json
+ passenger
pg
rails (= 3.1.5)
rvm-capistrano
# This is used by the lib/add_debug_info.rb middleware, which injects it in the
# environment.
run "cd #{release_path}; /usr/bin/git rev-parse HEAD > #{release_path}/git-commit.version"
+ # make sure to symlink the vendor bundle. Cf. http://gembundler.com/rationale.html
+ run "cd #{release_path}; ln -s #{shared_path}/vendor_bundle #{release_path}/vendor/bundle"
end
# desc "Install new gems if necessary"
task :bundle_install, :roles => :app, :except => { :no_release => true } do
- run "cd #{release_path} && bundle install --local"
+ run "cd #{release_path} && bundle install --deployment"
end
desc "Restarting mod_rails with restart.txt"