Using RVM is hard, but I think I managed.
This image was built from [dockerbase/devbase] and a Dockerfile, and started off as an adaptation of [dockerbase/devbase-rvm], but changed quite a bit along the way.
Included are (among other packages):
- JRuby 1.7.15
- Bundler 1.7.3
The non-root user is devbase.
bash -lexplicitly to have the
bundlewith JRuby like so:
RUN bash -l -c "rvm jruby && bundle install"