Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chef T
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 328
Location: Pittsburgh, PA

PostPosted: Wed Feb 04, 2015 10:32 pm    Post subject: Chef T Reply with quote

https://github.com/test-kitchen/test-kitchen

Howdy. I'm trying to get this to work under my user account. I'm having trouble with Vagrant installation here. Installation via gems is 'working', but Vagrant left the RubyGems world a while back, so only a placeholder remains. However, if I install Vagrant via Portage, gem doesn't see that install.

I'm also using rbenv to handle my user's ruby environment. Has anyone been able to get Chef Test Kitchen to work in their environment, and did you overcome a similar problem? If so, how'd you get past this challenge? :)

Thanks in advance!

Shell session reference:
Code:

nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/ kitchen list
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ShellOut::ShellCommandFailed
>>>>>> Message: Expected process to exit with [0], but received '1'
---- Begin output of vagrant --version ----
STDOUT:
STDERR: Thanks for wanting to use Vagrant! Unfortunately, this is not the way
to install Vagrant anymore. We now make installers for the various operating
systems Vagrant supports.

Vagrant is no longer distributed as a RubyGem. Please download the latest
version for your operating system from the URL below. If you still wish
to use the RubyGem version, you can manually install version 1.0.7. Note that
the RubyGem version hasn't been updated in over a year and will no longer
receive any updates.

Prior to installing Vagrant using the installer, make sure you uninstall
all your Vagrant gems, since they sometimes conflict.

http://www.vagrantup.com

If you want to learn more about why we don't distribute using RubyGems
anymore, please read this: http://mitchellh.com/abandoning-rubygems
---- End output of vagrant --version ----
Ran vagrant --version returned 1
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration

nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/


However....

Code:
nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/ gem uninstall vagrant
Remove executables:
   vagrant

in addition to the gem? [Yn]  y
Removing vagrant
Successfully uninstalled vagrant-1.5.0
nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/ kitchen list
Could not find vagrant-1.5.0 in any of the sources
Run `bundle install` to install missing gems.
nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/


but then, *after* I install Vagrant via portage...

Code:
nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/ kitchen list
Could not find vagrant-1.5.0 in any of the sources
Run `bundle install` to install missing gems.
nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/ eix -I vagrant
[I] app-emulation/vagrant
     Available versions:  ~1.0.7^t (~)1.4.3-r2^t {test ELIBC="FreeBSD" RUBY_TARGETS="ruby19 ruby20"}
     Installed versions:  1.4.3-r2^t(02:30:48 PM 02/04/2015)(-test ELIBC="-FreeBSD" RUBY_TARGETS="ruby20")
     Homepage:            http://vagrantup.com/
     Description:         A tool for building and distributing virtual machines using VirtualBox

nightmonkey@fuji-02 Wed Feb 04
~/learningchef/chap5/kitchen/

_________________
I like Linux. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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