-
Notifications
You must be signed in to change notification settings - Fork 231
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
Too old ruby and ruby gems #647
Comments
I uninstalled method_source 0.9.0, which solved the problem for me. |
Very similar issue on my side, but with pry:
Uninstalling pry 0.11.3 solves the issue, but seems that it's just a band-aid. |
I've found that adding the gem to the top of gem 'method_source', '0.9.0'
require 'zeus/rails'
# ... (The version you put in |
I tried both workarounds but none is working for me |
@speckins’ solution of explicitly requiring the correct version of the conflicted gems is a good one, although it isn't DRY. We can improve upon it by letting Bundler do its job right from the start. My custom_plan.rb starts with:
|
@nmagedman Doesn't that defeat the purpose of keeping 'zeus' out of the Gemfile? |
@speckins : Sorry, but I don't understand your question. In what sense is zeus "in" or "out" of the Gemfile? Zeus reads Gemfile.lock and parses out the version number of certain gems. In that sense, it has its hands very dirty with Bundler internals. Adding an explicit |
The prescribed usage for zeus is not to include it in the Gemfile. From the README:
It's worth noting that you would need to include it in the Gemfile if you use the @nmagedman I see what you mean in |
I use zeus 0.15.14 and it requires method_source 0.8.2, at the same time many gems (pry for example) requires method_source >0.9.0. And zeus crashes if used with this gems with exception:
can't activate method_source-0.8.2, already activated method_source-0.9.0
Also, zeus uses ruby 2.2.3 which is "nearing its end of life".
The text was updated successfully, but these errors were encountered: