Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux environment installation of rvm and ruby     - Use Ambari rapid deployment Hadoop big data environment (Server)

- Android media library of analysis: MediaProvider (Programming)

- Using Lua implement various operations list (Programming)

- Steps to build MPICH2 development environment on CentOS 6.4 (Linux)

- Ubuntu deployment Flask + UWSGI + Nginx Comments (Server)

- CentOS ClamAV antivirus package updates (Linux)

- How to add a new resolution VirtualBox (Linux)

- Linux system security knowledge (Linux)

- MD5 and simple to use (Linux)

- How to configure a development environment elegant Lua (Linux)

- Linux alpine use the command line to access Gmail (Linux)

- Linux uses the SMTP proxy to send mail (Linux)

- The difference Docker save and export commands (Linux)

- File permissions under Linux (Linux)

- MySQL configuration file my.cnf increase the log file parameter error (Database)

- Linux system started to learn: Teaches you install Fedora 22 on VirtualBox (Linux)

- Ubuntu 14.04 forget solution root password (Linux)

- Graphic Git (Linux)

- How Bluetooth turned off by default in Ubuntu 14.04 (Linux)

- CentOS 6.x systems installation + NIC driver installation (Realtek PCIe GBE Family Controller for Linux) (Linux)

 
         
  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:      
 
- curl Usage: Being the first site header and status codes (Server)
- Oracle set and remove columns unavailable (Database)
- To install CentOS 6.5 on your hard drive under Windows 7 (Linux)
- Vim custom color (Linux)
- Clojure programming languages: take full advantage of the Clojure plug-in Eclipse (Programming)
- Adjust the size of the hard disk VirtualBox (Linux)
- KVM add virtual disks (Linux)
- Ubuntu rights management common commands (Linux)
- Linux users should be aware that should the 7 ls command unique skills (Linux)
- Linux Getting Started tutorial: Borrow Windows fonts in Ubuntu 14.10 (Linux)
- Python maketrans () method (Programming)
- Graphing tool: Gnuplot (Linux)
- CentOS 6.5 platform offline compile and install PHP5.6.6 (Server)
- xCAT line installation on CentOS 6.X (Linux)
- Top 10: HTML5, JavaScript 3D game engine and framework (Linux)
- Oracle utilized undo data recovery operations (Database)
- Xmanager Remote Desktop login CentOS 6.5 (Linux)
- MySQL Study of --Percona Server 5.5 Upgrade 5.6 (Database)
- JDK comes with tools JPS (Linux)
- Django 1.8 TEMPLATE_DIRS configuration and STATICFILES_DIRS (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.