Revert "In app_generator, fix hardcoded bundle call to derive the bundle executable name from Thor::Util.ruby_command."

This reverts commit 6f4c45199b.

This breaks the tests. Please investigate.
This commit is contained in:
Carl Lerche
2010-03-03 15:38:22 -08:00
parent 6f4c45199b
commit 7979da2fa8

View File

@@ -178,8 +178,7 @@ module Rails::Generators
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