Comments (5)
@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.
/usr/local/bin/puppet --version
4.10.0
Could the bundled version of Ruby in Vagrant be the problem?
from vagrant-r10k.
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.
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.
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)
- Integration/functional tests HOT 6
- upgrade r10k HOT 5
- validate Puppetfile in config validate HOT 2
- Can't power up a VM if Internet connection is down HOT 4
- docs - vagrant plugin install puppet
- No validation of nil module_path HOT 5
- No validation of nil module_path HOT 1
- vmware_workstation acceptance tests
- code analysis HOT 6
- Test ticket from Code Climate
- [R10K::TaskRunner - ERROR] on OSX (yosemite) host HOT 10
- Can r10k run after specific provision script? HOT 3
- Ability to run arbitrary ruby code block before r10k
- Error occurred: no implicit conversion of nil into String HOT 7
- Support puppet_server provisioner HOT 3
- r10k deploy error on Windows HOT 2
- undefined method `original' HOT 1
- `find_spec_for_exe': can't find gem puppet (>= 0.a) (Gem::GemNotFoundException) HOT 4
- problem library ruby 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vagrant-r10k.