Problem building chef dev environment

Ok.

I’ll bite the bullet and have forked chef, installed dependencies as
per the readme, but seem to still miss something:

sudo rake dev:features
(in /Users/jeppe/projects/chef/chef)
rake install
(in /Users/jeppe/projects/chef/chef/chef)
sudo gem install pkg/chef-0.7.5 --no-rdoc --no-ri
ERROR: Error installing pkg/chef-0.7.5:
chef requires mixlib-config (>= 1.0.9, runtime)
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.7.5 --no-
rdoc …]
/Users/jeppe/projects/chef/chef/chef/Rakefile:45
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install…]
/Users/jeppe/projects/chef/chef/Rakefile:118
(See full trace by running task with --trace)

I found opscode-mixlib-config on github, but this doesn’t seem to
satisfy the dependency…

Any hints?

/Jeppe

On 13/07/2009, at 9:39 PM, Jeppe Nejsum Madsen wrote:

Ok.

I'll bite the bullet and have forked chef, installed dependencies as
per the readme, but seem to still miss something:

sudo rake dev:features
(in /Users/jeppe/projects/chef/chef)
rake install
(in /Users/jeppe/projects/chef/chef/chef)
sudo gem install pkg/chef-0.7.5 --no-rdoc --no-ri
ERROR: Error installing pkg/chef-0.7.5:
chef requires mixlib-config (>= 1.0.9, runtime)
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.7.5 --
no-rdoc ...]
/Users/jeppe/projects/chef/chef/chef/Rakefile:45
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install...]
/Users/jeppe/projects/chef/chef/Rakefile:118
(See full trace by running task with --trace)

I found opscode-mixlib-config on github, but this doesn't seem to
satisfy the dependency...

Weird. Add http://gems.opscode.com to your gem sources, then try. I'll
look into the github issue.

Any hints?

--
AJ Christensen, Software Engineer
Opscode, Inc.
E: aj@opscode.com

On 13/07/2009, at 11.55, Arjuna Christensen wrote:

On 13/07/2009, at 9:39 PM, Jeppe Nejsum Madsen wrote:

Ok.

I'll bite the bullet and have forked chef, installed dependencies
as per the readme, but seem to still miss something:

sudo rake dev:features
(in /Users/jeppe/projects/chef/chef)
rake install
(in /Users/jeppe/projects/chef/chef/chef)
sudo gem install pkg/chef-0.7.5 --no-rdoc --no-ri
ERROR: Error installing pkg/chef-0.7.5:
chef requires mixlib-config (>= 1.0.9, runtime)
rake aborted!
Command failed with status (1): [sudo gem install pkg/chef-0.7.5 --
no-rdoc ...]
/Users/jeppe/projects/chef/chef/chef/Rakefile:45
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake install...]
/Users/jeppe/projects/chef/chef/Rakefile:118
(See full trace by running task with --trace)

I found opscode-mixlib-config on github, but this doesn't seem to
satisfy the dependency...

Weird. Add http://gems.opscode.com to your gem sources, then try.
I'll look into the github issue.

Ahh yes forgot about the opscode repo :slight_smile: Also, I had to install merb-
slice to get it running but now I'm able to successfully run

rake features:provider:remote_file

and everything passes

Off to lunch. Will undoubtedly be back with more questions later :slight_smile:

/Jeppe