backbone.ws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gnu_linux:ruby:rvm [2014/11/27 09:48] kolangnu_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 / Gitorious installations:<code bash | Redmine/Gitorious deployments> +Redmine installations:<code bash | Redmine deployments> 
-curl -https://get.rvm.io | bash -s stable+command curl -sSL https://rvm.io/mpapis.asc | gpg2 --import - 
 +command curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import - 
 +curl -sSL https://get.rvm.io | bash -s stable
 source ~/.rvm/scripts/rvm source ~/.rvm/scripts/rvm
 rvm reload rvm reload
-rvm install 1.9.3 --autolibs=read-only # Gitorious only +rvm install 2.4.10 --autolibs=read-only # Redmine only 
-rvm install 2.1.--autolibs=read-only # Redmine only +rvm use 2.4.10@global --create --default # Redmine only 
-rvm use 1.9.3@global --create --default # Gitorious only +gem uninstall bundler; gem install bundler Temporary workaround1.12.3 requires to unlock nproc limits protection 
-rvm use 2.1.5@global --create --default # Redmine only +rvm wrapper regenerate bundle # updates symlinks in ~/.rvm/bin 
-Obsolete, now it is installed automatically by rvm install...rvm rubygems 2.4.4 --force +cd redmine 
-rvm wrapper default --no-prefix # updates symlinks in ~/.rvm/bin +bundle update 
-cd {redmine|site} && bundle install [--deployment|--no-deployment] +bundle install --no-deployment --without development test # Redmine only 
-RAILS_ENV=production ruby script/server --port=9288+paxctl -m `which ruby` # Hardened Gentoo only
 </code> </code>