and sorry if this has been asked before - couldn't find a good solution
for the following problem yet...
I can't get some of my gems to work and I know there has been trouble
with this and Leopard before - but first things first:
I have ruby, rails and rubygems installed on my Mac, running 10.5.
Previously, I had troubles since for ruby was also installed via
MacPorts (I am sure I had a reason for that...) - so ruby is located
both in /usr/local/bin and /opt/local/bin.
'which ruby' shows that '/usr/local/bin is used, so that's fine
and lo and behold, that's were I find the gem that I can't get to work.
However, if I run a script requiring that gem, it returns the following
message:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- ensembl-api (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
I am not too familier with the exact folder structure that ruby uses,
but something is fishy here regardless.
and sorry if this has been asked before - couldn't find a good solution
for the following problem yet...
I can't get some of my gems to work and I know there has been trouble
with this and Leopard before - but first things first:
I have ruby, rails and rubygems installed on my Mac, running 10.5.
Previously, I had troubles since for ruby was also installed via
MacPorts (I am sure I had a reason for that...) - so ruby is located
both in /usr/local/bin and /opt/local/bin.
'which ruby' shows that '/usr/local/bin is used, so that's fine
and sorry if this has been asked before - couldn't find a good solution
for the following problem yet...
I can't get some of my gems to work and I know there has been trouble
with this and Leopard before - but first things first:
I have ruby, rails and rubygems installed on my Mac, running 10.5.
Previously, I had troubles since for ruby was also installed via
MacPorts (I am sure I had a reason for that...) - so ruby is located
both in /usr/local/bin and /opt/local/bin.
and the standard one in /usr/bin ? Or did you remove that? You might want to consolidate.
However, if I run a script requiring that gem, it returns the following
message:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- ensembl-api (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
lucky for you I have every gem sitting on my hard drive in tarballs...
you're requiring the gem name. require is still just require in ruby, it loads files: