P
ppi
I installed Ruby 1.8.1 from source on FreeBSD 3.2.
No compile errors. Ruby and irb seem to work fine.
Except, when I use require 'net/smtp' I get this error:
irb(main):006:0* require 'net/smtp'
LoadError: No such file to load -- socket
from /usr/local/lib/ruby/1.8/net/protocol.rb:21:in `require'
from /usr/local/lib/ruby/1.8/net/protocol.rb:21
from /usr/local/lib/ruby/1.8/net/smtp.rb:121:in `require'
from /usr/local/lib/ruby/1.8/net/smtp.rb:121
from (irb):6:in `require'
from (irb):6
I also installed Ruby 1.8.1 on FreeBSD 4.9 (from the port system), but the
same require statement works without error.
I then installed Ruby 1.6 on the FreeBSD 3.2 machine. The require
'net/smtp' statement worked fine!
Any suggestions as to how to get 1.8.1 working on FreeBSD 3.2?
On the other hand, I could just use 1.6 on that machine. This raises
the question: what is the performance speed difference between 1.6 and
1.8.1? (I will be using mod_ruby, so speed is a factor for me.)
Mark Lindsay
No compile errors. Ruby and irb seem to work fine.
Except, when I use require 'net/smtp' I get this error:
irb(main):006:0* require 'net/smtp'
LoadError: No such file to load -- socket
from /usr/local/lib/ruby/1.8/net/protocol.rb:21:in `require'
from /usr/local/lib/ruby/1.8/net/protocol.rb:21
from /usr/local/lib/ruby/1.8/net/smtp.rb:121:in `require'
from /usr/local/lib/ruby/1.8/net/smtp.rb:121
from (irb):6:in `require'
from (irb):6
I also installed Ruby 1.8.1 on FreeBSD 4.9 (from the port system), but the
same require statement works without error.
I then installed Ruby 1.6 on the FreeBSD 3.2 machine. The require
'net/smtp' statement worked fine!
Any suggestions as to how to get 1.8.1 working on FreeBSD 3.2?
On the other hand, I could just use 1.6 on that machine. This raises
the question: what is the performance speed difference between 1.6 and
1.8.1? (I will be using mod_ruby, so speed is a factor for me.)
Mark Lindsay