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:
parent
047b187d0e
commit
17e860c14e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue