WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Ruby, rubygems problem with sha1.so, openssl.so  (Read 2147 times)

Offline ethanH

  • Newbie
  • *
  • Posts: 5
Ruby, rubygems problem with sha1.so, openssl.so
« on: October 17, 2012, 10:20:46 PM »
*** I had to edit out the error messages due to the over-aggressive external links filter.  I posted the error messages from core 4.6.2 into 2 pastebin posts, please see those. ***

Hi, I am using core 4.6.2

I installed the ruby module, then I installed ruby gems by downloading the the package and running sudo ruby setup.rb.

Then I installed the gems:  sass and rhc.

Everything seemed to install find, but when I try to run the gem by typing:

sass style.scss:style.css

I get an error, full error on pastebin:

/38pcdZ1V

I don't understand what is going on here I even copied libcrypto.so to the digest/ directory.

Later on a tried running another gem and got another error.

Full error on paste bin:

/1EU6VU2R

How do I fix these problems?  The problem seems to be with sha1, openssl.so libssl.0.9.8 and libcrypto.0.9.8.  However these files seem to exist?

I don't know if it matters, but I installed ruby as OnDemand instead of Install.

However, if I run ruby testfile.rb it runs correctly.  So I don't think ruby itself is the problem?

Any help would be greatly appreciated.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: Ruby, rubygems problem with sha1.so, openssl.so
« Reply #1 on: October 17, 2012, 11:32:53 PM »
Make sure you have libssl-0.9.8.tcz installed. That should solve your current problem.


(And then you'll probably want to make sure that you either package up ruby gems as an extension, or make sure that it and whatever directory it installs things to are being persisted somehow (eg, persistent home directory or backup), else your newly installed gems will disappear on a reboot)

Offline ethanH

  • Newbie
  • *
  • Posts: 5
Re: Ruby, rubygems problem with sha1.so, openssl.so
« Reply #2 on: October 18, 2012, 01:31:03 PM »
Make sure you have libssl-0.9.8.tcz installed. That should solve your current problem.


(And then you'll probably want to make sure that you either package up ruby gems as an extension, or make sure that it and whatever directory it installs things to are being persisted somehow (eg, persistent home directory or backup), else your newly installed gems will disappear on a reboot)

Yup loading libssl did the trick.  I used tce-load -wil to load libssl so it is now in my /optional folder.  Can I just add it to my onboot.lst to get it to load on start up?

Regarding the Ruby Gems thing, I installed rubygems and the actual gems into my home directory and then added those corresponding paths to my .ashrc.  The only problem is that doing a back up takes significantly longer as there is now a lot more to backup.  However, it is a small price to pay for what I am getting.

Thanks for your help

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: Ruby, rubygems problem with sha1.so, openssl.so
« Reply #3 on: October 18, 2012, 01:51:59 PM »
Hi ethanH
You could add it to onboot.lst for the time being and create a thread under  TCE Bugs  describing the problem
and referencing this thread.