Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit db3aef69cc89e5319c92b52585500ef08709a38a 1 parent a75eade
@smtlaissezfaire authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.