Commit 2db266f7ed25089efe6ccdd358ffc7334dcc5e85
1 parent
12c904e8
Exists in
master
and in
1 other branch
fixing newly introduced bug in rake task
Showing
2 changed files
with
5 additions
and
3 deletions
Show diff stats
lib/tasks/heroku.rake
| ... | ... | @@ -41,11 +41,11 @@ namespace :heroku do |
| 41 | 41 | end |
| 42 | 42 | |
| 43 | 43 | puts "Deploying..." |
| 44 | - run "git push heroku master" | |
| 45 | - run "heroku rake db:migrate" | |
| 44 | + `git push heroku master` | |
| 45 | + `heroku rake db:migrate` | |
| 46 | 46 | |
| 47 | 47 | puts "Opening app..." |
| 48 | - run "heroku open" | |
| 48 | + `heroku open` | |
| 49 | 49 | |
| 50 | 50 | puts "Rename your app at any time with..." |
| 51 | 51 | puts "heroku rename newname" | ... | ... |
script/create_project
| ... | ... | @@ -58,6 +58,8 @@ run("rake db:migrate RAILS_ENV=development") |
| 58 | 58 | run("rake db:migrate RAILS_ENV=test") |
| 59 | 59 | run("rake db:migrate RAILS_ENV=cucumber") |
| 60 | 60 | |
| 61 | +puts | |
| 61 | 62 | puts "Next: run the tests, configure Heroku, deploy!" |
| 63 | +puts | |
| 62 | 64 | puts "cd ../#{project_name} && rake && rake heroku:setup" |
| 63 | 65 | ... | ... |