-
Notifications
You must be signed in to change notification settings - Fork 55
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
'irb' gem no longer exists on appliance #408
Comments
@simaishi how are you calling You shouldn't need to install it, but you now won't be able to do something like Though, I guess I am unsure of what |
@simaishi This might be related - rubygems/bundler#6929 Moving to a newer bundler might fix that. |
Since the gem is removed, both
Some gems have newer versions installed (bundle, rake), so removing the version that came with ruby isn't causing problems. Of those, bundler, irb and rdoc are "default" gems, and the rest is "bundled" gems in ruby 2.6.5. There was an issue about removing bundled gem (rubygems/bundler#6648). There it says:
I'm not sure if "system gems" means default gems + bundled gems... |
It might be related, but we're already using the latest bundler, v2.1.4 |
should we just add irb to the Gemfile? |
@jrafanie maybe better to add it to https://github.com/ManageIQ/manageiq-appliance/blob/master/manageiq-appliance-dependencies.rb |
yeah, I guess we'd have to look at all of the default gems and decide if that's what we want to do with them too. |
I think it would depend on the gem though, right ... Some would belong in the Gemfile, or more likely, the gem that would actually need them (looking at
|
I believe rails console uses it. |
Oh I would have expected it to be a rails dependency then. Did they not add it when ruby 2.6 was released? If that's the reason, then I guess it does belong in the manageiq Gemfile. |
I agree...I'd expect a rails depedency as well |
Resolved by #415 as we no longer need to run |
On master/jansa appliances,
irb
gem (which is a default gem that should always exist) gets removed bybundle clean --force
during appliance build and it doesn't exist.In ruby 2.6.x, 'irb' became a standard gem, which seems to be causing the removal now.
The workaround for now:
gem install irb
The text was updated successfully, but these errors were encountered: