-
Notifications
You must be signed in to change notification settings - Fork 213
Installing ruby 1.9
It's likely that knife-solo will soon be compatible with ruby 1.9 only. As such here are some options for getting ruby 1.9 installed on your system.
Since you're reading this on knife-solo's wiki, the best approach for you may be the chef client installer available at http://www.opscode.com/chef/install/
This will allow you to choose the appropriate script or package for your operating system and install chef as well as ruby.
Once it's installed you can install knife-solo under into it's gem system by running something like:
/opt/chef/embedded/bin/gem install knife-solo
Or on windows
C:\chef\embedded\bin\gem install knife-solo
It's not advisable to use this as a general-purpose ruby installation since installing other gems could cause issues with chef itself, but it's safe to install knife plugins this way.
If you need a general purpose Ruby installation you probably will want to try one of the following projects
- RailsInstaller (Mac, Windows)
- Homebrew (Mac)
- RVM (Mac, Unix)
- rbenv (Mac, Unix)