Tom Ward
9/25/2006 1:59:00 PM
OK, you need to get the activerecord gem, using:
gem install activerecord --include-dependencies
Tom
On 25/09/06, Gaech <Andrej.Gaevskij@gmail.com> wrote:
>
> Tom Ward wrote:
> > On 25/09/06, Gaech <Andrej.Gaevskij@gmail.com> 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
>
>
>