Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gnu_linux:ruby:rvm [2015/02/18 18:17] – Gitorious: Set Ruby version to 2.0.0 kolan | gnu_linux:ruby:rvm [2022/01/28 21:35] (current) – old revision restored (2021/09/19 19:27) kolan | ||
---|---|---|---|
Line 44: | Line 44: | ||
* %%rvm uninstall 1.8.7%% - uninstall Ruby-1.8.7 but keep sources; | * %%rvm uninstall 1.8.7%% - uninstall Ruby-1.8.7 but keep sources; | ||
* %%rvm remove 1.8.7%% - uninstall Ruby-1.8.7 with sources. | * %%rvm remove 1.8.7%% - uninstall Ruby-1.8.7 with sources. | ||
+ | * %%gem pristine charlock_holmes%% - removes charlock_holmes gem | ||
==== Useful Commands ==== | ==== Useful Commands ==== | ||
Line 59: | Line 59: | ||
==== Typical Scanarios ==== | ==== Typical Scanarios ==== | ||
- | Redmine | + | Redmine installations:< |
- | curl -L https:// | + | command curl -sSL https:// |
+ | command curl -sSL https:// | ||
+ | curl -sSL https:// | ||
source ~/ | source ~/ | ||
rvm reload | rvm reload | ||
- | rvm install 2.0.0 --autolibs=read-only # Gitorious only | + | rvm install 2.4.10 --autolibs=read-only # Redmine only |
- | rvm install 2.1.5 --autolibs=read-only # Redmine only | + | rvm use 2.4.10@global --create --default # Redmine only |
- | rvm use 2.0.0@global --create --default # Gitorious only | + | gem uninstall bundler; gem install bundler |
- | rvm use 2.1.5@global --create --default # Redmine only | + | rvm wrapper |
- | # Obsolete, now it is installed automatically by rvm install...: rvm rubygems 2.4.4 --force | + | cd redmine |
- | rvm wrapper | + | bundle update |
- | cd {redmine|site} && | + | bundle install --no-deployment --without development test # Redmine only |
- | RAILS_ENV=production | + | paxctl |
</ | </ | ||