RVM in Bitnami Redmine stack

Keywords: Redmine - Linux - Technical issue - Other
bnsupport ID: 41601e09-3b67-2db7-fe78-a1307c322edb
Description:
I need to use rvm for a specific task on our redmine server (Bitnami Stack 4.0.4). When I enter “rvm” at the shell, it returns “command not found”. Where can I find RVM?

Hello @exkeks,

We don’t offer RVM in Redmine Stack. Bitnami Ruby Stack ships RVM.

Anyway, this guide explains how to install it:
https://rvm.io/rvm/install

Please don’t hesitate to ask any doubt you have

Regards

Thank you, @davidg!

Would I install rvm then using the redmine environment (use_redmine)?

What I finally want to achieve, is to use rake with cron for fetching emails from an IMAP server.
(cf. https://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails)

To get that working, I need rvm to setup environment variables.
(cf. https://coderwall.com/p/vhv8aw/getting-ruby-scripts-working-with-bundler-rvm-and-cron)

Hi @exkeks

The use_redmine script configures the proper environment to run the stack binaries so they take the right rpath and so on. However, I am not sure if rvm does system packages installation or it downloads a bundled version of ruby.

Try installing it with use_redmine (you can backup your stack first) and remember to also use use_redmine before calling rvm in your cron.


Was my answer helpful? Click on :heart:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.