| Message: 96269 |
 |
BY: Michael Kruger (mrkkid) DATE: 2011-03-30 19:24 SUBJECT: RE: installing rjb on windows hi arton
Thanks for getting back to me.
I re-installed the rjb-1.3.4-x86-mswin32-60 file that you built for me.
"Gem" says it installed OK.
When I try to run a test program with it, I get the following:
Error: Ruby.exe Entry Point Not Found
"The procedure entry point rb_str_set_len could not be located in the DLL MSVRT-ruby18.dll"
That's s windows message.
In the server log I get;
Load Error (127: The specified procedure could not be found.
-c:\ruby\lib\ruby\gems\1.8\gems\rjb-1.3.4-x86-mswin32-60\lib\rjbcore.50
Your command line entries "ruby -d -rubygems -rrjb -e 'p Rjb::VERSION'
and "ruby -d -rubygems -rrjb -e 'p Rjb::load"
both return:
Exception 'Load Error' at c:\ruby\lib\ruby\site_ruby\1.8\rubygems.rb:1113
no such file to load -- rubygems\defaults\operating_system
Exception 'LoadError' at ruby:0 - no such file to load -- rjb
I tried this with both
1) -rrjb
2) -rrjb-1.3.4-x86-mswin32-60
By the way, I had read in a number of areas that rjb didn't work with Java jdk1.6.0 even though Oracle says 1.6 is totally backwards
compatible. So I installed Java/jdk1.5.0_22.
Still didn't work.
None of the gems will work in script/console or irb when I call
Rjb::load(classpath) or Rjb::add_classpath(File.expand_path(... and then Rjb::load
(I get the can't create JVM error.)
Somehow I have this screwed up royally. But I really need your gem badly. I really appreciate your help.
thank you | |