Rake Can't Require Logging Gem?

All -

I’m trying to use the “logging” gem for the first time, and have a

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

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,

Now this appears not to work for MRI 1.9 as well. ;(

  • Keith