From: Tom Ward Date: 2006-09-25T21:08:25+09:00 Subject: Re: How can I fix this? 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%;/Build;/Src/Ruby Tom