From: Tom Ward Date: 2006-09-25T22:59:17+09:00 Subject: Re: How can I fix this? OK, you need to get the activerecord gem, using: gem install activerecord --include-dependencies Tom On 25/09/06, Gaech wrote: > > Tom Ward wrote: > > On 25/09/06, Gaech wrote: > > > Here is screenshot from my console > > > > > >"C:\rubyclr\Samples\RssReader\rssreader.rb" > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:251:in > > > `report_activate_error': Could not find RubyGem activerecord (>= 0.0.0) > > > (Gem::LoadError) > > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:188:in > > > `activate' > > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:66:in > > > `active_gem_with_options' > > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:59:in > > > `require_gem' > > > from C:/rubyclr/Src/Ruby/winforms.rb:6 > > > from > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > > `gem_original_require' > > > from > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > > `require' > > > from C:/rubyclr/Samples/RssReader/rssreader.rb:1 > > > > Strange, the winforms code seems to require activerecord. I'm not an > > expert oin the rubyclr internals, but that seems strange to me. > > > > Anyway, to get it to work, install the rails gems (gem install rails > > --include-dependencies) and try again. You can also test to see if > > rubyclr is installed successfully by typing: > > > > ruby -e "require 'rubyclr'" > > > > If this produces an error, rubyclr is not working correctly. > > > > Tom > > >ruby -e "require 'rubyclr'" > c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:251:in > `report_activate_error': Could not find RubyGem activerecord (>= 0.0.0) > (Gem::LoadError) > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:188:in > `activate' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:66:in > `active_gem_with_options' > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:59:in > `require_gem' > from C:/rubyclr/Src/Ruby/rubyclr.rb:7 > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > from -e:1 > > >