Permalink
Browse files

use rails new <path> for rails 3

  • Loading branch information...
1 parent d090080 commit a75eade6d232923e2e9c70bf2b59f902b8af668a @smtlaissezfaire committed Jun 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/garlic/target.rb
View
@@ -60,7 +60,7 @@ def install_rails
puts "Creating rails app for #{name}..."
if File.exists?(rails_bin = "#{rails_repo.path}/bin/rails")
- `ruby #{rails_bin} #{path}`
+ `ruby #{rails_bin} new #{path}`
else
`ruby #{rails_repo.path}/railties/bin/rails #{path}`
end

0 comments on commit a75eade

Please sign in to comment.