Chef-Apply Mac OS X Issue

Uncategorized

I was having an issue wherein when I ran chef-apply hello.rb as instructed on the chef tutorial I received a long error message:

/opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs’: Could not find chef (>= 0) amongst [activesupport-4.1.1, activesupport-3.2.18…and then a ton more

The way I fixed this issue was simply to type:

rvm reset

Not too sure as to why this works, but it fixed my problem, and hopefully will work for you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s