Browse files

run 'bundle install' after done checking out a rails 3 project

  • Loading branch information...
1 parent a75eade commit db3aef69cc89e5319c92b52585500ef08709a38a @smtlaissezfaire committed Sep 25, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/garlic/target.rb
View
4 lib/garlic/target.rb
@@ -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

0 comments on commit db3aef6

Please sign in to comment.