Full description is empty for this repo.
Thanks adanav ~!
I did all the stuff mentioned by rafaftahsin, and it all seemed to work, but then when I committed my image and re-ran it, ruby --version still says 1.9.3p484. I'm new to docker, so maybe I'm missing something, but I thought the commit was supposed to keep the updates? The tutorial seems to suggest that installing the json gem and committing will save an image that has the json gem installed. Anyone have any thoughts?
If you get the error
json requires Ruby version ~> 2.0.
apt-get install curl
curl -#LO https://rvm.io/mpapis.asc
gpg --import mpapis.asc
curl -sSL https://get.rvm.io | bash -s stable
rvm list known
rvm install 2.3.0
rvm use 2.3.0 --default
[Thanks adanav for the link]
Thanks adanav, the posted tutorial works!!!
it's not yum/rpm to use in this image.
and yes, update ruby. or change tutorial to use something like
gem install bundler
Yes, please update image for Ruby v2.x.
Neither yum not rpm are working in this image.
Please update image to include at least version 2.0.0 from Ruby. In the tutorial "Build your own images" a example is used with command:
gem install json. Minimum required ruby version is 2.0.0 for this gem. Packaged version is