pathname.rb warning with autospec

  • Problem
  • Updated 5 years ago
  • Acknowledged
It seems that libruby1.8 (version 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 ( and can be fixed as described there if one doesn't like unsightly warnings.

PS I followed the Automate Everything recipe.
Photo of R0b Smith

R0b Smith

  • 9 Posts
  • 0 Reply Likes
  • happy

Posted 6 years ago

  • 2
Photo of Rails Tutorial

Rails Tutorial, Official Rep

  • 1009 Posts
  • 112 Reply Likes
Thanks for letting me know. Since these kinds of warnings are mostly platform-dependent and (though annoying) are usually harmless, I've decided that it's not worth the trouble to track them all. If enough other people have this problem, though, I'll definitely add a note.
Photo of Zac Zheng

Zac Zheng

  • 1 Post
  • 0 Reply Likes
I also have this issue. A fix so the output is squeaky clean would be a' nice to have'!