dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

gem: not found

Open mjbright opened this issue 11 years ago • 0 comments

Having trouble creating my own Rails installation Dockerfile (for a MOOC) - problem was "gem: not found", I decided to try your Dockerfile.

Unfortunately, I had the same problem at the "gem install rails -v 4.0.0 mysql2" step. /bin/sh: 1: gem: not found

Using find to find the available gem scripts, and then selecting one to do /usr/local/rvm/gems/ruby-2.0.0-p451/wrappers/gem install rails -v 4.0.0 mysql2

seems to work, but that's horrible!

Any idea what needs to be changed so that the gem path is OK? I already tried RUN . /etc/profile.d/rvm.sh; gem install rails -v 4.0.0 mysql2

  • - it's still running ... on a 4-year old Atom ... zzz ...

mjbright avatar Apr 03 '14 09:04 mjbright