[chef] Re: Ohai Rakefile requires 'spec/rake/spectask', but not found on my system


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Ohai Rakefile requires 'spec/rake/spectask', but not found on my system
  • Date: Thu, 9 Dec 2010 08:18:27 -0800

On Thu, Dec 9, 2010 at 8:04 AM, Ringo De Smet 
< >
 wrote:
> Hello,
>
> I just created a development setup for fixing OHAI-235, but even after
> following the ENVIRONMENT instructions from README.rdoc, running rake
> fails on not finding 'spec/rake/spectask':
>
>  :~/Projects/ruby/ohai$
>  rake spec
> (in /home/rdesmet/Projects/ruby/ohai)
> rake aborted!
> no such file to load -- spec/rake/spectask
> /home/rdesmet/Projects/ruby/ohai/Rakefile:5
> (See full trace by running task with --trace)
>
> I have Rake 0.8.7 and rspec 2.2.0 installed, but neither of these gems
> provides that Ruby file. Can someone unblock me here?

We haven't updated to rspec 2.x yet, you need rspec 1.3.1. Also, we've
been making an effort to make the rake tasks rescue these kinds of
errors so you can still build and install the gems without having
development dependencies installed. Can you file a ticket for this for
the ohai project?

Thanks,
Dan DeLeo

>
> Ringo
>



Archive powered by MHonArc 2.6.16.

§