Docverter / docverter

Docverter Server
Other
831 stars 100 forks source link

Suppress rvm warning about ruby not installed. #31

Closed msabramo closed 9 years ago

msabramo commented 9 years ago

RVM gets confused by jruby because of the engine and engine_version in the Gemfile, resulting in warnings like:

[marca@marca-mac2 ~RVM_PROJECT_PATH]$ pushd /tmp
[marca@marca-mac2 /tmp]$ popd
ruby-1.9.3,:engine=>jruby,:engine_version=>1.7.4 is not installed.
To install do: 'rvm install ruby-1.9.3,:engine=>jruby,:engine_version=>1.7.4'

This adds a comment that tells rvm to use jruby so it doesn't get confused.

See: https://github.com/wayneeseguin/rvm/issues/2191