Hello!
I'm developing a ruby app, and i'm using NetBeans IDE 6.8 for
programming, so my problem now it's that i can execute my app without
problems using Netbeans, but if i do ruby myapp.rb from terminal , i
have the next message :
usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- ntp (LoadError)
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./Init_indoor_unit.rb:16
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from Main_loop.rb:20
My problem it's that a didn't take care about ruby libraries used by
Netbeans, in NetBeans i used Jruby 1.4 and for my system its Ruby 1.8...
:-(
My problem now it's that i don't know how migrate the libraries , or do
something to execute my app without Netbeans...
What must i do?
Thanks!!
on 2010-03-08 13:20
on 2010-03-08 16:12
On Mon, Mar 8, 2010 at 4:21 AM, Alvaro Di <aldiaz84@gmail.com> wrote: > usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require': no such file to load -- ntp (LoadError) > My problem it's that a didn't take care about ruby libraries used by > Netbeans, in NetBeans i used Jruby 1.4 and for my system its Ruby 1.8... > What must i do? sudo gem install ntp would be the place to start :-)
on 2010-03-08 16:32
On Mon, Mar 8, 2010 at 9:11 AM, Hassan Schroeder <hassan.schroeder@gmail.com> wrote: > sudo gem install ntp > > would be the place to start :-) Right -- the gems installed for Jruby are totally separate from the gems used by MRI.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.