Skip to content

Commit

Permalink
grab executable from rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jul 25, 2013
1 parent af29af6 commit d7fc97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/app_rails_loader.rb
Expand Up @@ -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.
Expand Down

0 comments on commit d7fc97d

Please sign in to comment.