-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load such file "script/../config/boot' #782
Comments
In newer versions of Ruby, the current directory is no longer in Your alternatives are:
|
It's not rbenv problem. Rails 2.3 (already EOL) do not support Ruby 1.9 later. |
@hsbt Ah yes, thanks for reminding me: @HuckyDucky It shouldn't be impossible to install an older version of Ruby on your computer. |
It's probably not impossible, but it's excruciatingly painful on RedHat. Lots of known issues with compiling against RH's OpenSSL with Ruby 1.8.7. I just have to last a little longer with this old app during the rewrite. It's silly, but I was able to run this using:
instead of just calling:
Works like a champ. |
I just moved from
rvm`` to
rbenv```. I needed to install a newer version of ruby and I wanted to insulate the ruby that was running for a legacy Rails 2.3.15 application I have on this server.I have had that legacy app working with Bundler for 2 years.
After reinstalling ruby, my Rails application refuses to load. I ended up installing a newer version of Ruby (2.1.5) since it was a nightmare trying to get any version of 1.8.7 (openssl issues) or 1.9.3 installed via rbenv. I don't think this is a shortcoming of rbenv, just configuration changes over the years.
Anyway, this 2.1.5 ruby version absolutely refuses to load the
config/boot.rb
file. Just flat out says it can't load it. Very unhelpful.The
require
line that is failing inscript/console
:At the top of this
script/console
file is:Could that somehow be causing a problem?
The text was updated successfully, but these errors were encountered: