grab executable from rubygems

This commit is contained in:
Aaron Patterson 2013-07-25 10:01:19 -07:00
parent af29af674e
commit d7fc97d3f9
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ require 'pathname'
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.