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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Oct-15 17:52 UTC
Re: Could not find RubyGem - because it''s not a gem
On 15 Oct 2008, at 18:43, Daniel Berger wrote:> > 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)That sort of thing works fine for me. The ruby-talk list may be able to offer more help with this. Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 15, 11:43 am, Daniel Berger <djber...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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)BTW, this is Ruby 1.8.6-p114, Windows XP, Rails 2.1.1 Regards, Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---