I’m happy

pathname.rb warning with autospec

It seems that libruby1.8 (version 1.8.7.249-2) as used on Ubuntu 10.4 gives a warning when using autospec.

$ autospec
loading autotest/rails_rspec
/usr/lib/ruby/1.8/pathname.rb:263: warning: `*' interpreted as argument prefix
/usr/bin/ruby1.8 /var/lib/gems/1.8/gems/rspec-1.3.0/bin/spec --autospec /home/robert/rails_projects/sample_app/spec/controllers/pages_controller_spec.rb -O spec/spec.opts
..

Finished in 0.029154 seconds

2 examples, 0 failures

It's a known issue (http://osdir.com/ml/debian-bugs-dist/...) and can be fixed as described there if one doesn't like unsightly warnings.

PS I followed the Automate Everything recipe.
2 people have
this problem
+1
Reply