Actions
Bug #6690
closed[Deployment] Better strategy for keeping Ruby up-to-date (both RVM and manual installs lag behind)
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Deployment
Target version:
-
Story points:
-
Description
After being installed (via RVM or building from source), Ruby does not get updated along with other OS packages via "yum update", "apt-get upgrade", etc. This way it can stay stale for years. Possible ways to mitigate this:
- Recommend (and document the process for) regular updates in the install guide.
- Encode the Ruby version as a dependency in our Ruby-based services (perhaps
ruby '2.1.6'
in Gemfile? bundler docs explicitly say "can't specify patchlevel" and don't mention whether "~>" is supported, so perhaps a different mechanism.) - Put Ruby packages in our own package repos, and recommend installing those. (Related: if we also support chruby in the places where we already have explicit RVM support, we can accommodate multiple ruby versions on a single machine but leave open the possibility of installing the rubies with the system's native package manager.)
- Don't use RVM, or any other ruby-switcher that acts as a Ruby version gatekeeper but isn't updated aggressively. (chruby seems to be the switcher without this problem.)
Use RVM but tell it to build from source (This doesn't seem to help; currently the build recipes are just as outdated as the binary packages."rvm install --disable-binary"
?).
Updated by Tom Clegg almost 9 years ago
- Project changed from 35 to Arvados
- Subject changed from [Deployment] Strategy for keeping Ruby up-to-date (both RVM and manual installs lag behind) to [Deployment] Better strategy for keeping Ruby up-to-date (both RVM and manual installs lag behind)
- Description updated (diff)
- Category set to Deployment
Updated by Nico César over 8 years ago
wx7k5 was deployed with ruby 2.1.7 changing the puppet conf
rvm::system_rubies: 'ruby-2.1.7': default_use: true
extra dependencies were neede (libgmp-dev ) that I'll be adding to puppet. but this is basically all we needed here at curoverse
Actions