Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

grab executable from rubygems

  • Loading branch information...
commit d7fc97d3f90c0e30865d32ce202658f03248cacc 1 parent af29af6
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/app_rails_loader.rb
View
2  railties/lib/rails/app_rails_loader.rb
@@ -2,7 +2,7 @@
module Rails
module AppRailsLoader
- RUBY = File.join(*RbConfig::CONFIG.values_at("bindir", "ruby_install_name")) + RbConfig::CONFIG["EXEEXT"]
+ RUBY = Gem.ruby
EXECUTABLES = ['bin/rails', 'script/rails']
BUNDLER_WARNING = <<EOS
Looks like your app's ./bin/rails is a stub that was generated by Bundler.
Please sign in to comment.
Something went wrong with that request. Please try again.