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


#1

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


#2

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


#3

On Oct 15, 11:43 am, Daniel B. removed_email_address@domain.invalid 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