[Geany-Users] cannot load such file -- mail (LoadError)
Thufir
hawat.thufir at gmail.com
Mon Dec 17 19:07:41 UTC 2012
New to geany, and starting with ruby, so just finding my way so far.
I cannot seem to use the mail gem:
/home/thufir/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require': cannot load such file -- mail (LoadError)
from
/home/thufir/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from mail.rb:3:in `<main>'
------------------
(program exited with code: 1)
Press return to continue
whereas from the CLI works fine:
thufir at dur:~/ruby$
thufir at dur:~/ruby$ ruby mail.rb
hello world
thufir at dur:~/ruby$
thufir at dur:~/ruby$ cat mail.rb
require 'yaml'
require 'net/imap'
require 'mail'
puts 'hello world'
thufir at dur:~/ruby$
what's going on?
thanks,
Thufir
More information about the Users
mailing list