Skip to content

Commit

Permalink
should run sprockets deploy task on remote server
Browse files Browse the repository at this point in the history
  • Loading branch information
neodude committed Mar 18, 2009
1 parent 4d9aedd commit 35d5f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/sprockets_tasks.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def run_sprockets_rake_task(task)
rake = fetch(:rake, 'rake')
rails_env = fetch(:rails_env, 'production')
`cd #{current_release}; #{rake} RAILS_ENV=#{rails_env} sprockets:#{task}`
run "cd #{current_release}; #{rake} RAILS_ENV=#{rails_env} sprockets:#{task}"
end

namespace :sprockets do
Expand Down

0 comments on commit 35d5f98

Please sign in to comment.