Not able to run tests for rspec itself

I am talking about rspec itself and running tests written for rspec.
This is what I did.

git clone GitHub - dchelimsky/rspec: Behaviour Driven Development framework for Ruby
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

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

rake aborted!
load_plugin_tasks' /usr/local/lib/ruby/gems/1.8/gems/hoe-2.6.0/lib/hoe.rb:572:inpost_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

Did everything that was instructed.

Still the same error.

No such file or directory - /Users/nadal/.rubyforge/user-config.yml

Creating an empty ~/.rubyforge/user-config.yml did it.

$ rake spec
warning: couldn’t activate the rubyforge plugin, skipping
Profiling enabled.

Thanks a bunch.

On Sun, May 23, 2010 at 3:50 PM, Nadal [email protected] wrote:

Did everything that was instructed.

Still the same error.

No such file or directory - /Users/nadal/.rubyforge/user-config.yml

Try adding that file and see what happens :slight_smile: