Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux environment installation of rvm and ruby     - To establish a secure and reliable Linux operating system (Linux)

- About phpwind 5.01-5.3 0day analysis of the article (Linux)

- Introduction to thread pooling and simple implementation (Programming)

- VMware virtual machine to use bridged mode fast Internet access (Linux)

- CentOS6 MongoDB connection solution can not break 1000 (Database)

- Shorewall firewall settings under Ubuntu (Linux)

- 10 useful Linux command Interview Questions and Answers (Linux)

- Python 2.7 installed on CentOS 6.5 (Linux)

- Can not remember how to solve the problem under Ubuntu brightness setting (Linux)

- Sniffer install applications in Linux supplement (Linux)

- To resolve Ubuntu 14.04 Unity Desktop Environment Login freeze problem (Linux)

- Why you can have JavaScript string method (Programming)

- Apache Kafka: the next generation of distributed messaging system (Server)

- Mass data storage application of MongoDB database (Database)

- Use Ansible to bulk manage remote servers (Server)

- Linux system package manager (rpm, yum, source packages installation) (Linux)

- Hadoop - Task Scheduling System Comparison (Server)

- Shell Scripting early experience (Programming)

- Oracle 11g to create a second instance on Linux (Database)

- Simple Linux file system - df, du, ln (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)
- File encryption and decryption of Linux security mechanisms (Linux)
- Element content of Java HashSet change issues (Programming)
- Share Practical Tutorial GitHub (Linux)
- Linux system security check method (Linux)
- How to install the Linux text editor Atom 0.124.0 (Linux)
- Linux Samba server-side structures and the use of the client (Server)
- Linux static library generated Guide (Programming)
- Linux check disk parameters trapping lack amendments (Linux)
- Installation Flow N Play- interface stylized video player on Ubuntu (Linux)
- C ++: Postmodern systems programming language (Programming)
- 20 Unix / Linux command skills (Linux)
- Ubuntu how to install and use Objective-C (Linux)
- Bash command substitution (Programming)
- To build PHP environment (Nginx + MariaDB + PHP7) under CentOS 6.5 (Server)
- Magical Virtualbox under Ubuntu (Linux)
- Tmux Crash Course: Tips and adjustment (Linux)
- Single list summarizes the basic operation (Programming)
- In-depth understanding of PHP ini configuration (Server)
- Linux (Ubuntu) How iptables port mapping (Server)
- Android determine the device network connection status, and determine the connection (Programming)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.