User Tools

Site Tools


ruby-software

Differences

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

Link to this comparison view

ruby-software [2015/10/07 09:21] – created joguyaruby-software [2023/12/18 08:48] (current) aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: 2.2.3+  * Version: 3.1 (3.1.4)
   * Added: October, 2015   * Added: October, 2015
 +  * Updated: December, 2023
   * Link: https://www.ruby-lang.org/en/   * Link: https://www.ruby-lang.org/en/
  
 ===== Usage ===== ===== Usage =====
  
-See versions of ruby which are available:+See which versions are available:
 <code>$ module avail ruby</code> <code>$ module avail ruby</code>
  
-Load and run ruby+Load one into your environment and run it
-<code>$ module load ruby/2.2.+<code>$ module load ruby/3.1 
-$ ruby</code>+$ ruby -v 
 +ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]</code>
  
 ===== Installation ====== ===== Installation ======
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
  
-<code>$ cd /tmp+<code>$ cd /var/scratch 
-$ wget https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz +$ wget https://cache.ruby-lang.org/pub/ruby/3.1/ruby-3.1.4.tar.gz 
-$ tar -xvf ruby-2.2.3.tar.gz +$ tar xf ruby-3.1.4.tar.gz 
-$ cd ruby-2.2.3 +$ cd ruby-3.1.4 
-scl enable devtoolset-2 bash +./configure --prefix=/export/apps/ruby/3.
-$ sudo mkdir -/export/apps/ruby/2.2.3 +$ make -j4 
-$ sudo chown -R joguya:joguya /export/apps/ruby/2.2.+$ sudo mkdir -/export/apps/ruby/3.1 
-./configure --prefix=/export/apps/ruby/2.2.3 +sudo chown aorth /export/apps/ruby/3.1
-$ make+
 $ make install $ make install
-$ sudo chown -R root:root /export/apps/ruby/2.2.3 +$ sudo chown -R root:root /export/apps/ruby/3.1</code>
-</code>+
ruby-software.1444209712.txt.gz · Last modified: 2015/10/07 09:21 by joguya