Hi Prakash,

We've never run the tests with a Ruby version other than 1.9.3 to my knowledge. 
My guess is that it wouldn't be very difficult to get working (the changes 
between Ruby versions are fairly small) but that it wouldn't just work - and 
there might be more problems with some of our Ruby dependencies requiring code 
changes.


Best,

Rob

________________________________
From: Clearwater <[email protected]> on behalf of 
prakash RAMCHANDRAN <[email protected]>
Sent: 12 September 2017 17:35
To: [email protected]
Subject: Re: [Project Clearwater] [Subject] clearwater-live-test using ruby rvm 
on Ubuntu 16.04 and package install issues

Hi all,
Few answers here, but more questions to ruby experts in celearwater community?

Was able to resolve this errors by editing and adding following lines
vi /etc/apt/sources.list
deb [arch=amd64] http://security.ubuntu.com/ubuntu xenial-security main
deb [arch=amd64] http://mirrors.opencas.org/ubuntu/ xenial main
deb-src [arch=amd64] http://mirrors.opencas.org/ubuntu/ xenial main
:wq!
sudo apt-get update
source /etc/profile.d/rvm.sh
rvm autolibs enable
rvm install 1.9.3
rvm docs generate-ri
There was a warning for updaing to ruby-2.4.1
Please consider upgrading to ruby-2.4.1 which will have all of the latest 
security patches.

Question ? Has anyone tried ruby rake tests using ruby-2.4.1. Will the gems 
using rvm 1.9.3 need source re-build or ruby-2.4.1 backward compatible to be 
able to use existing gems as is?


On Monday, September 11, 2017, 4:34:43 PM PDT, prakash RAMCHANDRAN 
<[email protected]> wrote:


Although I was able to install ruby  rvm 1.9.2  on gen1 Rackspace Ubuntu Xenial 
16.04 server  have issues on some other private PODs.
Due to the resource limitations there could not get vIMS running to run the 
celae-water-live tsts on the servers.

On the private vPOD, there was  no curl available on Xenial and in trying to 
overcome did use .deb curl package from ubuntu cloud

So followed this to get .deb curl and installed it
https://packages.ubuntu.com/xenial/amd64/curl/download


Then following happened as you see the dependency failures for  this  part of 
per-requisite for ruby 1.9.3

https://github.com/Metaswitch/clearwater-live-test/



root@host1:/opt# rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/16.04/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more 
information on binary rubies.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system..
Installing required packages: zlib1g-dev, libyaml-dev, libsqlite3-dev, sqlite3, 
autoconf, libgmp-dev, libgdbm-dev, libncurses5-dev, automake, libtool, bison, 
pkg-config, libffi-dev, libgmp-dev, libreadline6-dev, libssl-dev......
Error running 'requirements_debian_libs_install zlib1g-dev libyaml-dev 
libsqlite3-dev sqlite3 autoconf libgmp-dev libgdbm-dev libncurses5-dev automake 
libtool bison pkg-config libffi-dev libgmp-dev libreadline6-dev libssl-dev',
please read 
/usr/local/rvm/log/1505170731_ruby-1.9.3-p551/package_install_zlib1g-dev_libyaml-dev_libsqlite3-dev_sqlite3_autoconf_libgmp-dev_libgdbm-dev_libncurses5-dev_automake_libtool_bison_pkg-config_libffi-dev_libgmp-dev_libreadline6-dev_libssl-dev.log
Requirements installation failed with status: 100.


1. Suggesions listed were try rvm help mount:
root@host1:/opt# rvm help mount
Ruby enVironment Manager 1.29.3 (latest) (c) 2009-2017 Michal Papis, Piotr 
Kuczynski, Wayne E. Seguin
This is not a viable option.

2. please read 
/usr/local/rvm/log/1505166799_ruby-1.9.3-p551/package_install_zlib1g-dev_libyaml-dev_libsqlite3-dev_sqlite3_autoconf_libgmp-dev_libgdbm-dev_libncurses5-dev_automake_libtool_bison_pkg-config_libffi-dev_libgmp-dev_libreadline6-dev_libssl-dev.log
Requirements installation failed with status: 100.

E: Package 'zlib1g-dev' has no installation candidate
E: Unable to locate package libyaml-dev
E: Unable to locate package libsqlite3-dev
E: Package 'autoconf' has no installation candidate
E: Package 'libgmp-dev' has no installation candidate
E: Unable to locate package libgdbm-dev
E: Unable to locate package libncurses5-dev
E: Package 'automake' has no installation candidate
E: Package 'libtool' has no installation candidate
E: Package 'bison' has no installation candidate
E: Package 'pkg-config' has no installation candidate
E: Package 'libffi-dev' has no installation candidate
E: Package 'libgmp-dev' has no installation candidate
E: Unable to locate package libreadline6-dev


Now did anyone come across this and if so how did you solve it. If not what is 
your suggestions to overcoe this problem?


Thanks
Prakash

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org

Reply via email to