RUN gpg --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
RUN curl -L https://get.rvm.io | bash -s stable
-RUN bash -c 'source /etc/profile.d/rvm.sh ; rvm autolibs enable ; rvm install 1.9.3 ; rvm use 1.9.3'
action_clean()
exit(-1)
+ logger.info("Installing Ruby libraries for vIMS testcase...")
# Install ruby libraries for vims test-case
script = 'source /etc/profile.d/rvm.sh; '
script += 'cd ' + VIMS_TEST_DIR + '; '
- script += 'rvm use system;'
+ script += 'rvm autolibs enable ;'
+ script += 'rvm install 1.9.3; '
+ script += 'rvm use 1.9.3;'
script += 'bundle install'
cmd = "/bin/bash -c '" + script + "'"