Created
April 9, 2015 13:53
-
-
Save xarimanx/1b973f93f68c14b46ce2 to your computer and use it in GitHub Desktop.
cap rake
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cap staging rake TASK=ts:config | |
namespace :rake do | |
desc "remote rake task" | |
task :default do | |
run "cd #{current_path}; RAILS_ENV=#{rails_env} rake #{ENV['TASK']}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment