diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-01-14 17:11:49 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-01-14 17:11:49 +0000 |
commit | d78e5aeb922bc067877ad7821f36211a4e2d518e (patch) | |
tree | f7db1756318e2e7c33e2c3c26f710f2d3003f74c | |
parent | 115161e5cc9f11cf6d1de041d1a17dced2ce72b4 (diff) |
Allow cap rake:themes:install to be run standalone and in the context of a deploy. According to https://github.com/capistrano/capistrano/blob/master/lib/capistrano/recipes/deploy.rb#L75 'latest_release' seems to fit the bill.
-rw-r--r-- | config/deploy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 004c3df35..f52883bd4 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -19,7 +19,7 @@ server configuration['server'], :app, :web, :db, :primary => true namespace :rake do namespace :themes do task :install do - run "cd #{release_path} && bundle exec rake themes:install RAILS_ENV=#{rails_env}" + run "cd #{latest_release} && bundle exec rake themes:install RAILS_ENV=#{rails_env}" end end end |