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
Last revisionBoth sides next revision
gnu_linux:ruby:rvm [2016/05/10 12:04] – [Remove Unused] kolangnu_linux:ruby:rvm [2022/01/28 20:21] – [Typical Scanarios] 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 charlock_holmes%% - removes charlock_holmes gem+  * %%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> 
 +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 curl -sSL https://get.rvm.io | bash -s stable
 source ~/.rvm/scripts/rvm source ~/.rvm/scripts/rvm
 rvm reload rvm reload
-rvm install 2.0.0 --autolibs=read-only # Gitorious only +rvm install 2.6.--autolibs=read-only # Redmine only 
-rvm install 2.1.10 --autolibs=read-only # Redmine only +rvm use 2.6.9@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 regenerate bundle # updates symlinks in ~/.rvm/bin 
-gem uninstall bundler; gem install bundler -v '< 1.12' # Temporary workaround: 1.12.3 requires to unlock nproc limits protection +cd redmine 
-rvm wrapper default --no-prefix ; rvm wrapper default --no-prefix bundle # updates symlinks in ~/.rvm/bin +rm Gemfile.lock 
-gem install unicorn # Gitorious only +bundle update 
-cd site && bundle install --deployment # Gitorious only +bundle install --no-deployment --without development test # Redmine only 
-cd redmine && bundle install --no-deployment --without development test # Redmine only+paxctl -c `which ruby` # Hardened Gentoo only
 paxctl -m `which ruby` # Hardened Gentoo only paxctl -m `which ruby` # Hardened Gentoo only
 </code> </code>