Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915552 - vagrant-2.3.7 is not working with `Ignoring vagrant-2.3.7 because its extensions are not built` error
Summary: vagrant-2.3.7 is not working with `Ignoring vagrant-2.3.7 because its extensi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 16:48 UTC by Paul
Modified: 2023-10-10 18:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2023-10-10 16:48:50 UTC
Hi Guys,

I just have installed the latest vagrant on Gentoo, but when I am trying to use it I am getting the following error:
```
# vagrant plugins list
Ignoring vagrant-2.3.7 because its extensions are not built. Try: gem pristine vagrant --version 2.3.7
<internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- vagrant (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /usr/lib64/ruby/gems/3.1.0/gems/vagrant-2.3.7/bin/vagrant:111:in `<main>'

```
```
# gem pristine vagrant --version 2.3.7
Restoring gems to pristine condition...
Cached gem for vagrant-2.3.7 not found, attempting to fetch...
Skipped vagrant-2.3.7, it was not found from cache and remote sources
```
```
# gem list | grep vagrant
vagrant (2.3.7)
vagrant_cloud (3.1.0, 3.0.5)
```
```
# gem env   
RubyGems Environment:
  - RUBYGEMS VERSION: 3.3.26
  - RUBY VERSION: 3.1.4 (2023-03-30 patchlevel 223) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/3.1.0
  - USER INSTALLATION DIRECTORY: /root/.local/share/gem/ruby/3.1.0
  - RUBY EXECUTABLE: /usr/bin/ruby31
  - GIT EXECUTABLE: /usr/bin/git
  - EXECUTABLE DIRECTORY: /usr/bin
  - SPEC CACHE DIRECTORY: /root/.local/share/gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
  - GEM PATHS:
     - /usr/lib64/ruby/gems/3.1.0
     - /root/.local/share/gem/ruby/3.1.0
     - /usr/local/lib64/ruby/gems/3.1.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => true
     - :bulk_threshold => 1000
     - "install" => "--install-dir /usr/local/lib64/ruby/gems/3.1.0 --bindir /usr/local/bin"
     - "uninstall" => "--install-dir /usr/local/lib64/ruby/gems/3.1.0 --bindir /usr/local/bin"
     - "update" => "--install-dir /usr/local/lib64/ruby/gems/3.1.0 --bindir /usr/local/bin"
  - REMOTE SOURCES:
     - hxxps://rubygems.org/
  - SHELL PATH:
     - /usr/lib64/ruby/gems/3.1.0/bin
     - /bin
     - /sbin
     - /usr/bin
     - /usr/sbin
     - /usr/local/bin
     - /usr/local/sbin
```

I tried deleting everything, reinstalling gems, etc nothing helps. I would really appreciate if one could help with this issue.

Thank you!
Comment 1 Paul 2023-10-10 17:36:44 UTC
The problem was my system configuration
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-10 18:20:32 UTC
Could you mention what it was so other people can fix it if they hit it?