http://tutorials.jumpstartlab.com/topics/systems/automation.html
cd path/to/rails/app && /usr/local/bin/rake RAILS_ENV=production rails_app_name:rake_task_name
To know the path to rake
which rake
http://tutorials.jumpstartlab.com/topics/systems/automation.html
cd path/to/rails/app && /usr/local/bin/rake RAILS_ENV=production rails_app_name:rake_task_name
To know the path to rake
which rake