-
Notifications
You must be signed in to change notification settings - Fork 17
Rake task complaining about vagrant gem missing #12
Comments
I think TK needs a vagrant gem ? |
Hmm. What's odd is that I am able to use TK on this same workstation with no issues. I suppose I could manually add vagrant to the gemfile, but it seems to me that needing to do this would be counter to how meez is supposed to work? |
No, that's no good - because the vagrant gem that gets installed is not v2, and the Vagrantfile created by meez is a v2 file, so it breaks. |
yeah, I'm not sure what it is then ... I haven't had any vagrant gem issues on OSX ... what OS are you running ? |
Mavericks |
reading back through the Rakefile I don't see anything other than TK in there that might want vagrant. can you run Maybe @sethvargo could offer some suggestion? |
I tried creating a fresh cookbook to see...same issue. This is the result of
I wonder if there is a conflict that I have TK 1.2.1 on my system? |
Can you make sure you have these in your Gemfile ?
can you also run |
I confirmed both gems are in the Gemfile. When I run vagrant --version from within the cookbook, I get this result:
If I run it outside the cookbook, I get this error:
If I run it inside a cookbook that was created with Berkshelf "by hand", I get this result: |
@mattstratton Note that vagrant used to be packaged as a gem, but no longer is. The fact that something's trying to activate a gem binary is probably a bit of a hangover from that. I've had troubles with varying tools such as: I recommend checking each ruby version you have installed on your machine for: |
i removed the gem version of vagrant and installed the os x binary install version. it's at 1.5.1 now. Made sure that particular vagrant is in my path. Then ran bundle exec rake again. Worked like a charm. |
If vagrant is no longer a gem, why would I need to add it to the gemfile?
The text was updated successfully, but these errors were encountered: