This commit is contained in:
Nicolas Bally 2013-12-09 23:33:43 +01:00
parent 8ce52b0d9f
commit 588481e4b8
3 changed files with 39 additions and 40 deletions

View File

@ -93,13 +93,12 @@ function flash_alert(text) {
function set_busy(){ function set_busy(){
$('body').append('<div id="busy"></div>');
$('#busy').activity({segments: 8, steps: 5, opacity: 0.5, width: 10, space: 0, length: 10, color: '#212222', speed: 1.5});
} }
function unset_busy(){ function unset_busy(){
$('#busy').remove();
} }

View File

@ -92,7 +92,7 @@ set :application, 'jfn_app'
sudo "service #{application} restart" sudo "service #{application} restart"
end end
task :migrate do task :migrate do
run "cd #{deploy_to}current && rake db:migrate RAILS_ENV=#{rails_env}" run "cd #{deploy_to}current && bundle exec rake db:migrate RAILS_ENV=#{rails_env}"
end end