Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can use <code>gem env</code> to find the directory where gem binaries will be installed. For example, on a Mac OS X system with RVM installed in my home directory:</p> <pre><code>% gem env | grep EXECUTABLE - RUBY EXECUTABLE: /Users/jtimberman/.rvm/rubies/ruby-1.9.3-p0/bin/ruby - EXECUTABLE DIRECTORY: /Users/jtimberman/.rvm/gems/ruby-1.9.3-p0/bin </code></pre> <p>Generally though, deploying Ruby with RVM or similar compile-from-source strategies takes a long time, and the "shell magic" these tools use can lead to confusion.</p> <p>Try the <a href="https://github.com/opscode/omnibus" rel="noreferrer">Omnibus-built</a> Chef Full stack package. Instructions available here:</p> <ul> <li><a href="http://www.opscode.com/chef/install/" rel="noreferrer">http://www.opscode.com/chef/install/</a></li> </ul> <p>Basically, you do this on Linux/Unix platforms.</p> <pre><code>wget -O- https://opscode.com/chef/install.sh | sudo bash </code></pre> <p>The install.sh simply examines the local system's platform and architecture and uses that information to compose a URL of the directory in the <a href="http://opscode-full-stack.s3.amazonaws.com/" rel="noreferrer">S3 bucket</a> for the full stack packages for supported platforms.</p> <p>This installation includes everything above libc for the platform, including Ruby (1.9.2+), RubyGems and other assorted libraries and tools. This means you can still install Ruby in your preferred manner (by using a cookbook, of course) for your Ruby-based applications (if any) without modifying the Ruby environment that Chef needs, and you will have a Ruby version known and well tested to work with Chef.</p> <p>The other installation paths (RubyGems, etc) continue to be available, but this is by far the least hassle, and will be the best supported method to install Chef on any platform Opscode supports.</p> <p>Also, as of now, and version 0.10.10+, the <a href="http://github.com/opscode/chef/tree/master/chef/lib/chef/knife/bootstrap/chef-full.erb" rel="noreferrer">chef-full bootstrap template</a> will be the default for those who use <code>knife bootstrap</code> to automatically set up Chef client systems.</p> <p><em>Note As of this writing, the full stack installer is in "beta". It will remain in this status until release, which will coincide with the Chef 0.10.10 version's release. It says on the install page that it is not supported, but will be soon.</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload