Hi folks,
Hope that this does not disturb your vacations.
I’m trying to install chef from the head of github on ubuntu 9.10, following
the wiki: http://wiki.opscode.com/display/chef/Installing+Chef+from+HEAD.
But I meet the problems when trying to following command:
cd ~/chef
sudo gem install merb-core
rake install
I got the following error:
dikang@dikang-desktop:~/temp/chef$ rake install
(in /home/dikang/temp/chef)
rake install
(in /home/dikang/temp/chef/chef)
mkdir -p pkg
WARNING: no rubyforge_project specified
WARNING: description and summary are identical
Successfully built RubyGem
Name: chef
Version: 0.8.0
File: chef-0.8.0.gem
mv chef-0.8.0.gem pkg/chef-0.8.0.gem
sudo gem install pkg/chef-0.8.0 --no-rdoc --no-ri
Building native extensions. This could take a while…
ERROR: Error installing pkg/chef-0.8.0:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require’: no such file to load – mkmf (LoadError)
from extconf.rb:1
Gem files will remain installed in /var/lib/gems/1.8/gems/json-1.2.0 for
inspection.
Results logged to
/var/lib/gems/1.8/gems/json-1.2.0/ext/json/ext/generator/gem_make.out
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.8.0 --no-rdoc
…]
/home/dikang/temp/chef/chef/Rakefile:44
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install…]
/home/dikang/temp/chef/Rakefile:17
(See full trace by running task with --trace)
Could you give me any advices about that?
Happy new Year!
Dikang