Nadal
1
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
Nadal
2
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: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
Nadal
3
Did everything that was instructed.
Still the same error.
No such file or directory - /Users/nadal/.rubyforge/user-config.yml
Nadal
4
Creating an empty ~/.rubyforge/user-config.yml did it.
$ rake spec
warning: couldn’t activate the rubyforge plugin, skipping
Profiling enabled.
…
Thanks a bunch.
Nadal
5
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