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
rbenv rehash error in conjunction with Ruby 2.3.0 #845
Comments
Thanks for reporting, but rbenv doesn't have any code in Ruby, and thus can't generate Ruby stack traces. It's all bash script. Your stack trace comes from rbenv-bundler plugin, which is a known culprit for many kinds of bugs. You should uninstall it, |
Oh! Thanks for pointing that out. I'll then close this issue since it has nothing to do with rbenv. Thank you for your quick response and your awesome work! |
Just incase this issues comes up in search results for people having the same/similar issue, I also had this but had been installed through homebrew - stack trace included
|
Ended up here via google. Thanks. If you've got rbenv-bundler installed and don't want to remove it, you can switch it off with |
@dannysmith Thanks for the For me, the fix was:
|
Hi,
I just updated everything through homebrew to install Ruby 2.3.0 and noticed that
rbenv rehash
throws this error:rbenv version is
1.0.0
and ruby-build version20151225
It looks like Ruby 2.3.0 has trouble loading OpenStructs from the
ruby_profiles.yml
file?The implementation of OpenStruct changed, it now has a
#respond_to_missing?
method which references@table
. That instance variable seems to benil
and causes the error.As I now realize, this isn't a fault with rbenv, but rather with Psych.. Check this out:
I'll create this issue anyway since people are likely to report this here..
Edit: I've now reported this issue https://bugs.ruby-lang.org/issues/11884
The text was updated successfully, but these errors were encountered: