Created
June 7, 2012 18:55
-
-
Save tas50/2890773 to your computer and use it in GitHub Desktop.
Failed chef install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdxsmitht02:~ smitht$ cd /tmp | |
pdxsmitht02:tmp smitht$ curl -O http://production.cf.rubygems.org/rubygems/rubygems-1.8.10.tgz | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 243k 100 243k 0 0 893k 0 --:--:-- --:--:-- --:--:-- 1207k | |
pdxsmitht02:tmp smitht$ tar zxf rubygems-1.8.10.tgz | |
pdxsmitht02:tmp smitht$ cd rubygems-1.8.10 | |
pdxsmitht02:rubygems-1.8.10 smitht$ sudo ruby setup.rb --no-format-executable | |
Password: | |
RubyGems 1.8.10 installed | |
== 1.8.10 / 2011-08-25 | |
RubyGems 1.8.10 contains a security fix that prevents malicious gems from | |
executing code when their specification is loaded. See | |
https://github.com/rubygems/rubygems/pull/165 for details. | |
* 5 bug fixes: | |
* RubyGems escapes strings in ruby-format specs using #dump instead of #to_s | |
and %q to prevent code injection. Issue #165 by Postmodern | |
* RubyGems attempt to activate the psych gem now to obtain bugfixes from | |
psych. | |
* Gem.dir has been restored to the front of Gem.path. Fixes remaining | |
problem with Issue #115 | |
* Fixed Syck DefaultKey infecting ruby-format specifications. | |
* `gem uninstall a b` no longer stops if gem "a" is not installed. | |
------------------------------------------------------------------------------ | |
RubyGems installed the following executables: | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/gem | |
pdxsmitht02:rubygems-1.8.10 smitht$ | |
pdxsmitht02:rubygems-1.8.10 smitht$ | |
pdxsmitht02:rubygems-1.8.10 smitht$ sudo gem install chef --no-ri --no-rdoc | |
Fetching: mixlib-config-1.1.2.gem (100%) | |
Fetching: mixlib-cli-1.2.2.gem (100%) | |
Fetching: mixlib-log-1.3.0.gem (100%) | |
Fetching: mixlib-authentication-1.1.4.gem (100%) | |
Fetching: mixlib-shellout-1.0.0.rc.1.gem (100%) | |
Fetching: systemu-2.5.1.gem (100%) | |
Fetching: yajl-ruby-1.1.0.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing chef: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | |
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h | |
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/yajl-ruby-1.1.0 for inspection. | |
Results logged to /Library/Ruby/Gems/1.8/gems/yajl-ruby-1.1.0/ext/yajl/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment