Skip to content

Commit

Permalink
run 'bundle install' after done checking out a rails 3 project
Browse files Browse the repository at this point in the history
  • Loading branch information
smtlaissezfaire committed Sep 25, 2010
1 parent a75eade commit db3aef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/garlic/target.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ def install_rails

if File.exists?(rails_bin = "#{rails_repo.path}/bin/rails")
`ruby #{rails_bin} new #{path}`

cd path do
`bundle install`
end
else
`ruby #{rails_repo.path}/railties/bin/rails #{path}`
end
Expand Down

0 comments on commit db3aef6

Please sign in to comment.