Code Monkey home page Code Monkey logo

Comments (5)

jantman avatar jantman commented on June 18, 2024

@ranzbak It's probably going to take me a while to dig into this, as I'm currently on vacation.

The fact that the error is in puppet itself and is related to Gem::Module makes me think that this is most likely related to changes in a recent version of something. Honestly this gem hasn't received much attention in quite a while; the newest Vagrant version tested against is 1.7.0, but you're running 1.9.3. We have r10k pinned to the 1.5 series because 2.x introduced major changes that would need a major refactor...

I should be able to look into this more next week when I get back. Until then, do you think you could please send me the output of /usr/local/bin/puppet --version?

from vagrant-r10k.

ranzbak avatar ranzbak commented on June 18, 2024

/usr/local/bin/puppet --version
4.10.0

Could the bundled version of Ruby in Vagrant be the problem?

from vagrant-r10k.

ranzbak avatar ranzbak commented on June 18, 2024

Hi,

I'm still trying to get to the bottom of this.
Puppet works from the command line, but when I run via vagrant, find _spec_for_exec fails.

Code line 298 rubygems.rb

spec = find_spec_for_exe name, exec_name, [requirement]
Gem::LOADED_SPECS_MUTEX.synchronize { spec.activate }
spec.bin_file exec_name

Is there something in the environment that is not set?
What am I missing here?

from vagrant-r10k.

ranzbak avatar ranzbak commented on June 18, 2024

I found that Vagrant 1.9.x has a problem on OSX where the GEM_PATH of the embedded Ruby is pointing to the wrong path. The link below discusses the problem.
hashicorp/vagrant#8235
Downgrading to Vagrant 1.8.7 solved the problem for.

from vagrant-r10k.

jantman avatar jantman commented on June 18, 2024

Apologies for my lack of response, but I'm glad you found the issue and a workaround.

For future reference, this was apparently fixed in hashicorp/vagrant#8248

from vagrant-r10k.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.