All -
I'm trying to use the "logging" gem for the first time, and have a problem.
If I have this file, x_spec.rb:
require 'rspec'
require 'logging'
...then I get this output when I run rspec x_spec.rb:
> rspec x_spec.rb
LoadError: no such file to load -- logging
require at org/jruby/RubyKernel.java:1027
(root) at /Users/kbennett/work/small-projects/ruby-validator/x_spec.rb:2
Interestingly, if I load with ruby instead of rspec,it works (which also proves that the gem is installed):
> ruby x_spec.rb
>
If I run rspec in MRI 1.9, it works:
> rspec x_spec.rb
No examples found.
Finished in 0.00006 seconds
0 examples, 0 failures
>
What's going on? Am I missing something simple?
Thanks for any help,
Keith