Content
You are here:
Your Ruby version is 2.1.0, but your Gemfile specified 2.1.5
Added by David Yang over 9 years ago
Hi, new to Openproject. I’m trying to install the openproject-global-roles plugin https://github.com/finnlabs/openproject-global_roles so any user can create a new project without having to be assigned a role by the admin and I’m getting the following error:
Your Ruby version is 2.1.0, but your Gemfile specified 2.1.5
Not too familiar with Ruby installs, but how do I upgrade Ruby to 2.1.5 if I’m running openproject 4.0.8 packager.io package? It’s on CentOS 6.5.
Thanks
Replies (1)
Hi David,
the packager installation brings it own Ruby as a Heroku buildpackage. It is somewhat encapsulated but you can use with
openproject run
, e.g.openproject run ruby -v
. I just checked and the ruby version delivered with OpenProject 4.0.8 should be 2.1.5.If you want to run migrations, use the encapsulated Ruby, too:
openproject run bundle exec rake db:migrate
.I hope that helps. :)
Best,
Jonas