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