[rspec-users] Not able to run tests for rspec itself

David Chelimsky dchelimsky at gmail.com
Sun May 23 11:35:48 EDT 2010


On May 22, 2010, at 5:41 PM, Nadal wrote:

> I am talking about rspec itself and running tests written for rspec.
> This is what I did.
> 
>> git clone http://github.com/dchelimsky/rspec.git
>> cd rspec
>> rake test
> 
> I am getting following error
> 
> 
> rake aborted!
> No such file or directory - /Users/nadal/.rubyforge/user-config.yml
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe/rubyforge.rb:44:in
> `read'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe/rubyforge.rb:44:in
> `define_rubyforge_tasks'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:507:in `send'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:507:in
> `load_plugin_tasks'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:501:in `each'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:501:in
> `load_plugin_tasks'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:572:in
> `post_initialize'
> /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:293:in `spec'
> /Users/nadal/dev/working/rspec/Rakefile:11

This works for me, using a clean gemset with rvm:

$ gem install rake geminstaller
$ git clone git://github.com/dchelimsky/rspec
$ cd rspec
$ geminstaller geminstaller.yml
$ rake spec

Give that a whirl and let us know how it works out.

Cheers,
David 




More information about the rspec-users mailing list