iSeries Open Source THIN - Command not found

Matthew Roessner
Matthew Roessner used Ask the Experts™
on
Our developers are attempting to use THIN (Open Source) on our iSeries.  It seems to be installed - but when we try to call the command we get the following:

thin: command not found

I attempted to do a:

yum install thin

But I get this:

yum install thin          
Setting up Install Process
No package thin available.
Error: Nothing to do      

This might be related to something with gemsets...but thought I would reach out to see if anyone knew what I might need to do...
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Gary PattersonVP Technology / Senior Consultant

Commented:
gem install thin
Matthew RoessnerSenior Systems Programmer

Author

Commented:
I meant to mention that I also tried that in my previous email.  When I run that command, I get the following:

> gem install thin                                                            
  ERROR:  Could not find a valid gem 'thin' (>= 0), here is why:              
            Unable to download data from https://rubygems.org/ - SSL_connect re
  turned=1 errno=0 state=error: certificate verify failed (https://rubygems.org
  /latest_specs.4.8.gz)                                                        
  $                    
Gary PattersonVP Technology / Senior Consultant

Commented:
rubygems.org certificate is valid - looks like you have out of date certificates installed.  See this thread for more info:

https://github.com/rubygems/rubygems/issues/1758

And this guide outlines solutions:

https://guides.rubygems.org/ssl-certificate-update/#manual-solution-to-ssl-issue
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Gary PattersonVP Technology / Senior Consultant

Commented:
Another alternative is to download on another machine (Windows, for example), copy to the IBM i, and manually install:

https://help.rubygems.org/kb/rubygems/installing-gems-with-no-network
Matthew RoessnerSenior Systems Programmer

Author

Commented:
The suggestions that you sent were not the exact solution to my problem - but they did get me pointed in the right direction.  They were suggesting that I check the ruby command.  When I checked the ruby command - the system could also not find it.  

So ultimately to resolve my issue, I had to do the following:

ADDLIBLE LIB(POWER_RUBY)
SETPOWRBY VRM(*V20)

Once I did this - I was able to use both the ruby and thin commands.

Thanks for your quick suggestions. I certainly appreciate the help!
Senior Systems Programmer
Commented:
I had to run the following commands to resolve the issue:

ADDLIBLE LIB(POWER_RUBY)
SETPOWRBY VRM(*V20)
Gary PattersonVP Technology / Senior Consultant

Commented:
Glad you got it figured, out, and thanks for sharing the eventual solution.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial