Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[rubyGEMS] Doubt on how to manage portage and gems.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Rockman8
n00b
n00b


Joined: 19 Sep 2023
Posts: 37

PostPosted: Fri Nov 08, 2024 3:29 am    Post subject: [rubyGEMS] Doubt on how to manage portage and gems. Reply with quote

Hello,

I'm running vagrant and I got an issue relating to excon
excon-0.104.0 is currently installed via portage
Code:
eix excon
[I] dev-ruby/excon
     Available versions:  0.104.0^t ~0.112.0^t {doc test RUBY_TARGETS="ruby31 ruby32 ruby33"}
     Installed versions:  0.104.0^t(11:26:45 10/07/24)(-doc -test RUBY_TARGETS="ruby32 -ruby31")
     Homepage:            https://github.com/excon/excon
     Description:         EXtended http(s) CONnections


and I got an updated version on gem
Code:
gem list excon

*** LOCAL GEMS ***

excon (1.2.0, 0.104.0)


Code:
Now when I try running vagrant up I get this
Vagrant failed to initialize at a very early stage:

The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:

  vagrant plugin repair

If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:

  vagrant plugin expunge --reinstall

Or you may want to try updating the installed plugins to their latest
versions:

  vagrant plugin update

Error message given during initialization: Unable to activate fog-core-2.6.0, because excon-0.104.0 conflicts with excon (~> 1.0)


Code:
Error message given during initialization: Unable to activate fog-core-2.6.0, because excon-0.104.0 conflicts with excon (~> 1.0)

I got 2 versions conflicting because 1 is installed via portage and another updated one is on gem.

Can I safely remove the outdated one from portage without breaking anything?

And I just happened to run
Code:
sudo gem update
will this interfere with portage when I try to run
Code:
emerge -avuDN @world

If it does what are the measures I should be taking to prevent that (the installed gems /usr/local/lib64/ruby/gems/3.2.0) from happening?

Thanks in advance
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum