Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gnu_linux:ruby:rvm [2016/05/10 12:04] – [Remove Unused] 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 prestine | + | * %%gem pristine |
==== Useful Commands ==== | ==== Useful Commands ==== | ||
Line 59: | Line 59: | ||
==== Typical Scanarios ==== | ==== Typical Scanarios ==== | ||
- | Redmine | + | Redmine installations:< |
+ | command curl -sSL https:// | ||
+ | command curl -sSL https:// | ||
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.10 --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 # Temporary workaround: 1.12.3 requires to unlock nproc limits protection |
- | rvm use 2.1.10@global --create --default # Redmine only | + | rvm wrapper |
- | gem uninstall bundler; gem install bundler | + | cd redmine |
- | rvm wrapper | + | bundle |
- | gem install unicorn # Gitorious only | + | bundle install --no-deployment --without development test # Redmine only |
- | cd site && | + | |
- | cd redmine && | + | |
paxctl -m `which ruby` # Hardened Gentoo only | paxctl -m `which ruby` # Hardened Gentoo only | ||
</ | </ |