Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Brian Thomas
RE: install problems - found in IRB, not scri [ reply ]  
2008-08-07 17:06
OK, silly mistake, but the reason is wasn't being found was because in a script, you not only need require 'rsruby', but first you also need require 'rubygems'... do'h. IRB includes rubygems by default.

By: Brian Thomas
install problems - found in IRB, not scripts [ reply ]  
2008-07-02 18:13
Hi

I was able to get rsruby gem installed on my gentoo 64bit platform (with 'gem install rsruby -- --with-R-dir=/usr/lib/R'). However, when I tried to require it in a script, I immediately get a not found error...

t.rb:1:in `require': no such file to load -- rsruby (LoadError) from t.rb:1

Weird thing is, when I fire up irb and type require rsruby, it works fine.

Anyone got any ideas?