Permalink
Browse files

Revert "In app_generator, fix hardcoded `bundle` call to derive the b…

…undle executable name from Thor::Util.ruby_command."

This reverts commit 6f4c451.

This breaks the tests. Please investigate.
  • Loading branch information...
1 parent 6f4c451 commit 7979da2fa894a89f2e90169e688c3887dfda5270 Carl Lerche committed Mar 3, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/lib/generators/rails/app/app_generator.rb
@@ -178,8 +178,7 @@ def apply_rails_template
end
def bundle_if_dev_or_edge
- bundle_command = Thor::Util.ruby_command.sub(%r[ruby(?=[^/]*$)], 'bundle')
- run "#{bundle_command} install" if dev_or_edge?
+ run "bundle install" if dev_or_edge?
end
protected

0 comments on commit 7979da2

Please sign in to comment.