Could not find RubyGem - because it's not a gem

Hi all,

Why doesn’t a require in my environment.rb file search the standard
site_lib path?

works

irb(main):001:0> require ‘strongtyping’
=> true

doesn’t work

C:>ruby script\server
=> Booting WEBrick…
C:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:628:in
`report_activate_error’: Could not find RubyGem strongtyping (>= 0)
(Gem::LoadError)

Regards,

Dan

On 15 Oct 2008, at 18:43, Daniel B. wrote:

doesn’t work

C:>ruby script\server
=> Booting WEBrick…
C:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:628:in
`report_activate_error’: Could not find RubyGem strongtyping (>= 0)
(Gem::LoadError)

That sort of thing works fine for me. The ruby-talk list may be able
to offer more help with this.

Fred

On Oct 15, 11:43 am, Daniel B. [email protected] wrote:

C:>ruby script\server
=> Booting WEBrick…
C:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:628:in
`report_activate_error’: Could not find RubyGem strongtyping (>= 0)
(Gem::LoadError)

BTW, this is Ruby 1.8.6-p114, Windows XP, Rails 2.1.1

Regards,

Dan