How can I fix this?

Discussion in 'Ruby' started by Gaech, Sep 25, 2006.

  1. Gaech

    Gaech Guest

    I`m just install Ruby 1.8.5

    C:\rubyclr\Samples\GoogleCalc>calc.rb
    c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    `gem_original_re
    quire': no such file to load -- rubyclr (LoadError)
    from
    c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    quire'
    from C:/rubyclr/Samples/GoogleCalc/calc.rb:3
    Gaech, Sep 25, 2006
    #1
    1. Advertising

  2. Gaech

    Jan Svitok Guest

    On 9/25/06, Gaech <> wrote:
    > I`m just install Ruby 1.8.5
    >
    > C:\rubyclr\Samples\GoogleCalc>calc.rb
    > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    > `gem_original_re
    > quire': no such file to load -- rubyclr (LoadError)
    > from
    > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    > quire'
    > from C:/rubyclr/Samples/GoogleCalc/calc.rb:3


    Just a blind guess: Aren't you mixing two ruby versions? c ruby and .net ruby?
    In that case, fix your paths.
    Jan Svitok, Sep 25, 2006
    #2
    1. Advertising

  3. Gaech

    Gaech Guest

    Jan Svitok wrote:
    > On 9/25/06, Gaech <> wrote:
    > > I`m just install Ruby 1.8.5
    > >
    > > C:\rubyclr\Samples\GoogleCalc>calc.rb
    > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    > > `gem_original_re
    > > quire': no such file to load -- rubyclr (LoadError)
    > > from
    > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    > > quire'
    > > from C:/rubyclr/Samples/GoogleCalc/calc.rb:3

    >
    > Just a blind guess: Aren't you mixing two ruby versions? c ruby and .net ruby?
    > In that case, fix your paths.


    Please tell me how
    Gaech, Sep 25, 2006
    #3
  4. Gaech

    Zed A. Shaw Guest

    On Mon, 25 Sep 2006 17:35:14 +0900
    "Gaech" <> wrote:

    >
    > Jan Svitok wrote:
    > > On 9/25/06, Gaech <> wrote:
    > > > I`m just install Ruby 1.8.5
    > > >
    > > > C:\rubyclr\Samples\GoogleCalc>calc.rb
    > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    > > > `gem_original_re
    > > > quire': no such file to load -- rubyclr (LoadError)
    > > > from
    > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    > > > quire'
    > > > from C:/rubyclr/Samples/GoogleCalc/calc.rb:3

    > >
    > > Just a blind guess: Aren't you mixing two ruby versions? c ruby and .net ruby?
    > > In that case, fix your paths.

    >
    > Please tell me how
    >
    >


    Gaech,

    This:

    http://www.iunknown.com/articles/2006/03/16/third-drop-of-rubyclr

    And:

    http://www.ruby-lang.org/en/

    Are different. Not compatible. Uninstall both, install rubyclr only.

    --
    Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
    http://www.zedshaw.com/
    http://mongrel.rubyforge.org/
    http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
    Zed A. Shaw, Sep 25, 2006
    #4
  5. Gaech

    Gaech Guest

    Please write about RubyCLR install in details
    Thanks!
    Gaech, Sep 25, 2006
    #5
  6. Gaech

    Tom Ward Guest

    On 25/09/06, Zed A. Shaw <> wrote:
    > On Mon, 25 Sep 2006 17:35:14 +0900
    > "Gaech" <> wrote:
    >
    > >
    > > Jan Svitok wrote:
    > > > On 9/25/06, Gaech <> wrote:
    > > > > I`m just install Ruby 1.8.5
    > > > >
    > > > > C:\rubyclr\Samples\GoogleCalc>calc.rb
    > > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    > > > > `gem_original_re
    > > > > quire': no such file to load -- rubyclr (LoadError)
    > > > > from
    > > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    > > > > quire'
    > > > > from C:/rubyclr/Samples/GoogleCalc/calc.rb:3
    > > >
    > > > Just a blind guess: Aren't you mixing two ruby versions? c ruby and .net ruby?
    > > > In that case, fix your paths.

    > >
    > > Please tell me how
    > >
    > >

    >
    > Gaech,
    >
    > This:
    >
    > http://www.iunknown.com/articles/2006/03/16/third-drop-of-rubyclr
    >
    > And:
    >
    > http://www.ruby-lang.org/en/
    >
    > Are different. Not compatible. Uninstall both, install rubyclr only.


    For once I think Zed may be wrong. RubyCLR is a bridge between ruby
    and the CLR, rather than a version of ruby that runs on the CLR. We
    have it apparently working on ruby 1.8.4, and I don't see why it
    wouldn't work with 1.8.5 too.

    It looks like your issue is a path problem. Assuming you've got a
    compiled version (you may need to build one in Visual Studio), to get
    it to work you need to add both the build and ruby directories to
    RUBYLIB. The setup.cmd file in the rubyclr distribution should do
    this, or you can do it yourself using:

    SET RUBYLIB=%RUBYLIB%;<rubyclrdir>/Build;<rubyclrdir>/Src/Ruby

    Tom
    Tom Ward, Sep 25, 2006
    #6
  7. Gaech

    Zed A. Shaw Guest

    On Mon, 25 Sep 2006 21:08:25 +0900
    "Tom Ward" <> wrote:

    > On 25/09/06, Zed A. Shaw <> wrote:
    > > Gaech,
    > >
    > > This:
    > >
    > > http://www.iunknown.com/articles/2006/03/16/third-drop-of-rubyclr
    > >
    > > And:
    > >
    > > http://www.ruby-lang.org/en/
    > >
    > > Are different. Not compatible. Uninstall both, install rubyclr only.

    >
    > For once I think Zed may be wrong. RubyCLR is a bridge between ruby
    > and the CLR, rather than a version of ruby that runs on the CLR. We
    > have it apparently working on ruby 1.8.4, and I don't see why it
    > wouldn't work with 1.8.5 too.
    >


    Oh yeah, my bad, I thought RubyCLR was the IronPython alternative and ran on the .NET VM natively. But yeah looks like it uses ruby and hooks into it.

    In that case I have no idea why it don't work. Maybe you can help?


    --
    Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
    http://www.zedshaw.com/
    http://mongrel.rubyforge.org/
    http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
    Zed A. Shaw, Sep 25, 2006
    #7
  8. Gaech

    Gaech Guest

    Tom Ward wrote:
    > On 25/09/06, Zed A. Shaw <> wrote:
    > > On Mon, 25 Sep 2006 17:35:14 +0900
    > > "Gaech" <> wrote:
    > >
    > > >
    > > > Jan Svitok wrote:
    > > > > On 9/25/06, Gaech <> wrote:
    > > > > > I`m just install Ruby 1.8.5
    > > > > >
    > > > > > C:\rubyclr\Samples\GoogleCalc>calc.rb
    > > > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
    > > > > > `gem_original_re
    > > > > > quire': no such file to load -- rubyclr (LoadError)
    > > > > > from
    > > > > > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
    > > > > > quire'
    > > > > > from C:/rubyclr/Samples/GoogleCalc/calc.rb:3
    > > > >
    > > > > Just a blind guess: Aren't you mixing two ruby versions? c ruby and .net ruby?
    > > > > In that case, fix your paths.
    > > >
    > > > Please tell me how
    > > >
    > > >

    > >
    > > Gaech,
    > >
    > > This:
    > >
    > > http://www.iunknown.com/articles/2006/03/16/third-drop-of-rubyclr
    > >
    > > And:
    > >
    > > http://www.ruby-lang.org/en/
    > >
    > > Are different. Not compatible. Uninstall both, install rubyclr only.

    >
    > For once I think Zed may be wrong. RubyCLR is a bridge between ruby
    > and the CLR, rather than a version of ruby that runs on the CLR. We
    > have it apparently working on ruby 1.8.4, and I don't see why it
    > wouldn't work with 1.8.5 too.
    >
    > It looks like your issue is a path problem. Assuming you've got a
    > compiled version (you may need to build one in Visual Studio), to get
    > it to work you need to add both the build and ruby directories to
    > RUBYLIB. The setup.cmd file in the rubyclr distribution should do
    > this, or you can do it yourself using:
    >
    > SET RUBYLIB=%RUBYLIB%;<rubyclrdir>/Build;<rubyclrdir>/Src/Ruby
    >
    > Tom


    I just follow instruction on rubyclr.com
    c:\ruby - Ruby 1.8.5
    c:\rubyclr - RubyCLR

    1. Download RubyCLR OK
    2. Open your Visual Studio 2005 Command Prompt. OK
    3. Go to your ruby win32 source directory
    "..yourpath/ruby/src/win32" OK
    4. type "configure.bat"
    5. type "nmake". This process may or may not fail. All that matters
    is that ruby/config.h is created. OK
    6. Open the RubyCLR solution "RubyCLR/RubyCLR.sln" in Visual Studio
    OK
    7. Open the Runtime project's properties OK
    8. Under "C/C++" ensure the "Additional Include Directories" setting
    contains the full path to your ruby/src and your ruby/src/win32
    directories OK
    9. Under "Linker" ensure the "Additional Library Directories"
    setting contains the full path to your ruby/lib directory OK
    10. Build the Project! OK
    11. Run setup.cmd OK

    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
    Gaech, Sep 25, 2006
    #8
  9. Gaech

    Tom Ward Guest

    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
    Tom Ward, Sep 25, 2006
    #9
  10. Gaech

    Gaech Guest

    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
    Gaech, Sep 25, 2006
    #10
  11. Gaech

    Tom Ward Guest

    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
    >
    >
    >
    Tom Ward, Sep 25, 2006
    #11
  12. Gaech

    Gaech Guest

    Tom Ward wrote:
    > 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
    > >
    > >
    > >


    I type in command prompt
    >ruby -e "require 'rubyclr'"


    c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
    `alias_const_missing': uninitialized constant IDataErrorInfo
    (NameError)
    from C:/rubyclr/Src/Ruby/core.rb:258:in `const_missing'
    from
    c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
    `send'
    from
    c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
    `const_missing'
    from C:/rubyclr/Src/Ruby/databinding.rb:30
    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:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
    `require'
    from C:/rubyclr/Src/Ruby/rubyclr.rb:21
    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
    Gaech, Sep 25, 2006
    #12
  13. Gaech

    Gaech Guest

    Gaech wrote:
    > Tom Ward wrote:
    > > 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
    > > >
    > > >
    > > >

    >
    > I type in command prompt
    > >ruby -e "require 'rubyclr'"

    >
    > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in
    > `alias_const_missing': uninitialized constant IDataErrorInfo
    > (NameError)
    > from C:/rubyclr/Src/Ruby/core.rb:258:in `const_missing'
    > from
    > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
    > `send'
    > from
    > c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:133:in
    > `const_missing'
    > from C:/rubyclr/Src/Ruby/databinding.rb:30
    > 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:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
    > `require'
    > from C:/rubyclr/Src/Ruby/rubyclr.rb:21
    > 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


    >gem install activerecord --include-dependencies

    Need to update 0 gems from http://gems.rubyforge.org
    complete
    Successfully installed activerecord-1.14.4
    Installing ri documentation for activerecord-1.14.4...
    Installing RDoc documentation for activerecord-1.14.4...
    Gaech, Sep 25, 2006
    #13
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dean R. Henderson
    Replies:
    9
    Views:
    2,731
    Jacob Yang [MSFT]
    Oct 24, 2003
  2. Patrick Philippot
    Replies:
    0
    Views:
    445
    Patrick Philippot
    Apr 14, 2006
  3. Xah Lee
    Replies:
    22
    Views:
    1,100
    Tim Roberts
    Mar 21, 2006
  4. Xah Lee
    Replies:
    23
    Views:
    1,037
    Tim Roberts
    Mar 21, 2006
  5. Xah Lee
    Replies:
    21
    Views:
    761
    Tim Roberts
    Mar 21, 2006
Loading...

Share This Page