It seems that I’ve successfully installed the ferret gem on my Media
Temple
Grid Server [ ferret 0.11.4 (ruby) ] but now my application won’t start
and
gives me this error in my mongrel.log
/home/25280/data/rubygems/gems/gems/ferret- 0.11.4/lib/ferret_ext.so:
libruby1.8.so.1.8: cannot open shared object file: No such file or
directory
- /home/25280/data/rubygems/gems /gems/ferret-0.11.4/lib/ferret_ext.so
(LoadError)
It looks like this is a shared libraries problem, but I’ve tried doing
some LD_LIBRARY_PATH= with no luck.
My local install of ruby is here //data/rubygems/local/lib/site_ruby/1.8
(i
think) but I can’t even seem to find the libruby1.8.so.1.8 file.
I’m really having a tough time and would appreciate any help. Please be
explicit with any assistance as I’m still a student of all this
goodness.
Hey …
the gem hasn’t been installed successfully. Most
probably you don’t have a compiler installed.
try to install the ferret gem manually and see if
it succeeds. Post the log here, if you see any
error.
Ben
Hi,
I’m having the same issue with another gem on MediaTemple’s gridservice.
I know this topic was started a while ago, and there hasn’t been any
update to it, so I am hoping Chap figured it out.
Here’s the error I’m getting:
libruby1.8.so.1.8: cannot open shared object file: No such file or
directory -
/home/8816/data/rubygems/gems/gems/ruby-debug-base-0.9.3/lib/ruby_debug.so
As far as what Benjamin said, I am fairly sure this issue is related to
the fact that we are using MediaTemple’s GridService. If you didn’t
know, they use a rather peculiar container technology to do proper RoR
in what is technically shared hosting. As a result, when we install
gems, we can rarely just do “gem install ruby-debug”. We are advised to
use “gem install ruby-debug --source=http://gems.mediatemple.net”, for
example.
In any case, I have checked all the paths and indeed, ruby_debug.so does
exist. So where should we go from here?