Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux environment installation of rvm and ruby     - Use Python automatically cleared Android Engineering excess resources (Programming)

- View and modify Linux machine name (Linux)

- Workspace Go language and environment variables GOPATH (Linux)

- Linux tar compressed exclude a folder (Linux)

- How to Install Foreman under Ubuntu (Server)

- MySQL Tutorial: Some optimized for I / O memory areas (Database)

- Redhat Close SELinux correct step (Linux)

- How to find on Linux and delete duplicate files: FSlint (Linux)

- SME Linux network security policy server security (Linux)

- PL / SQL in forall simple test (Database)

- Linux System Getting Started Tutorial: How to find the maximum memory your system supports (Linux)

- lolcat: an output terminal rainbow effects in the Linux command-line tool (Linux)

- How do you access Dropbox Linux command line (Linux)

- 10 important Linux ps command combat (Linux)

- Getting Started with Linux system to learn: how to check the version of SSH on Linux (Linux)

- CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts (Database)

- CentOS 7.0 Automatic installation CD-ROM production Comments (Linux)

- Django how to generate content in non-HTML formats (Programming)

- xCAT line installation on CentOS 6.X (Linux)

- Install mono offline on CentOS (Server)

 
         
  Linux environment installation of rvm and ruby
     
  Add Date : 2017-08-31      
         
         
         
  Rvm is a command line tool that can provide a more convenient version of ruby environmental management and switching. If you intend to learn ruby / rails, rvm is one of the essential tools.

All commands are here and then the next user privileges operation.

Installation rvm:

sudo apt-get install curl

sudo apt-get install git-core

sudo apt-get install libssl-dev (otherwise gem can not be used)

sudo apt-get install libxslt-dev libxml2-dev (otherwise bundle install will go wrong)

sudo apt-get install libmysql-ruby libmysqlclient-dev (for mysql)

sudo apt-get install libsqlite3-dev (for sqlite)

sudo apt-get install zlib1g-dev (or can not create a project)

sudo apt-get install nodejs (certain or else will be reported ExecJS :: RuntimeError in Welcome # index error)

sudo apt-get install g ++ (installation thin, eventmachine the class time will be used)

curl -L get.rvm.io | bash -s stable (to download and install rvm)

source ~ / .bashrc

source ~ / .bash_profile

sed -i -e 's / ftp \ .ruby-lang \ .org \ / pub \ / ruby / ruby \ .taobao \ .org \ / mirrors \ / ruby / g' ~ / .rvm / config / db (Modify RVM Ruby installation source to domestic Taobao mirror server, which can improve the speed of installation)

ruby installation and handover

rvm list known (listed known ruby version)

rvm install 1.9.3 (install a ruby version 1.9.3 here to install the latest, rvm list known list which can be used to install)

rvm use 1.9.3 (using a ruby version, if you want to set as the default version, you can use rvm use 1.9.3 --default)

rvm list (query already installed ruby)

rvm remove 1.9.2 (uninstall a version already installed)
     
         
         
         
  More:      
 
- CentOS7 install NTFS-3G driver (Linux)
- Linux Hard Disk Partition and file system management (Linux)
- Linux and Windows Security Topics (Linux)
- Java annotations entry automatically generates SQL statements (Programming)
- Java regular expressions examples (Programming)
- CentOS install video converter FFmpeg and cutting tools segmenter (Linux)
- The difference between Linux su and sudo commands (Linux)
- MySQL primary and secondary replicate data inconsistencies (Database)
- Install Oracle 11g illustrations and dependent libraries under SUSE11 (Database)
- Close common port to protect server security (Linux)
- IOS interview questions Summary (Programming)
- The hashcode method of Java (Programming)
- TCP network communication Java Programming (Programming)
- shell script: LVS start simple script (Server)
- How to add a new resolution VirtualBox (Linux)
- AngularJS achieve picture upload feature (Programming)
- Terminal Linux command prints - echo (Linux)
- Linux Tutorial: Open multiple tabs in the GNOME terminal in Ubuntu 15.04 (Linux)
- Linux Routine Task Scheduler (Linux)
- Nagios plugin installation tutorial of Nrpe (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.