To the Dockerfile, this makes it so ruby is no longer installed into /opt/rubies/ruby-2.3.1, but instead /usr/local/lib/ruby (the behavior of --system in ruby-install). This fix updates the RUBY_GEMS_ROOT ENV variable to reflect that properly.
This also means that /usr/local/bin already has the ruby binary installed, so modifying the $PATH is no longer necessary.
This was throwing me off quite significantly hen working with this container image.
With the addition from ea8c9653 :
To the Dockerfile, this makes it so ruby is no longer installed into
/opt/rubies/ruby-2.3.1
, but instead/usr/local/lib/ruby
(the behavior of--system
inruby-install
). This fix updates theRUBY_GEMS_ROOT
ENV variable to reflect that properly.This also means that
/usr/local/bin
already has theruby
binary installed, so modifying the$PATH
is no longer necessary.This was throwing me off quite significantly hen working with this container image.
Links