1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

grab executable from rubygems

This commit is contained in:
Arun Agrawal 2013-09-09 17:06:02 +02:00
parent 047b187d0e
commit 17e860c14e

View file

@ -2,7 +2,7 @@ require 'pathname'
module Rails module Rails
module AppRailsLoader module AppRailsLoader
RUBY = File.join(*RbConfig::CONFIG.values_at("bindir", "ruby_install_name")) + RbConfig::CONFIG["EXEEXT"] RUBY = Gem.ruby
EXECUTABLES = ['bin/rails', 'script/rails'] EXECUTABLES = ['bin/rails', 'script/rails']
BUNDLER_WARNING = <<EOS BUNDLER_WARNING = <<EOS
Looks like your app's ./bin/rails is a stub that was generated by Bundler. Looks like your app's ./bin/rails is a stub that was generated by Bundler.