I actually can list the gems sometimes from ssh. AND, I have been able
to install gems from there and they will even show up in cpanel but I
can’t access them in my apps for some reason.
In cpanel, if I try to Show Available Ruby Gem(s) I get:
“There was a problem fetching the list of available modules.”
If I try to search for a gem I get:
“No Modules matched your search terms.”
If I try to install a gem:
INFO: gem install -y is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Bulk updating Gem source index for: http://gems.rubyforge.org/
/usr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
If I try to update a gem:
Updating installed gems
Bulk updating Gem source index for: http://gems.rubyforge.org/
/usr/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault
ruby 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
This looks like a host problem of some sort - the segmentation faults
are
a problem that older versions of Rubygems had, where they would try to
load the entire RubyForge gem listing into memory (and then fail). The
1.3.1
Rubygems now only tries to load 1000 items, so either cPanel’s hitting
an
old version, or your host’s memory limits are tiny. I’d recommend
opening
a ticket with your hosting provider to sort this out.
This looks like a host problem of some sort - the segmentation faults
are
a problem that older versions of Rubygems had, where they would try to
load the entire RubyForge gem listing into memory (and then fail). The
1.3.1
Rubygems now only tries to load 1000 items, so either cPanel’s hitting
an
old version, or your host’s memory limits are tiny. I’d recommend
opening
a ticket with your hosting provider to sort this out.
–Matt J.
Thanks for the reply Matt,
What would you suggest me to raise with my host then? Is it ruby gems
that is out of date?
Should I suggest a whole upgrade of Ruby/Rails/Gems?
I am running;
Rails 2.0.2
Gems 1.3.1
Ruby 1.8.6
Thanks a lot,
Rob
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.