Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu install ruby     - Web database security tips (Linux)

- Linux command -nohup & (Linux)

- Hadoop virtualization performance comparison and tuning experience (Server)

- How to understand Python yield keyword (Programming)

- MySQL binary packages install for RedHat Linux Enterprise 6.4 (Database)

- Compile and install GCC 4.8.1 + GDB 7.6.1 + Eclipse in CentOS 6.4 in (Linux)

- Varnish configuration language VCL and its built-in variables (Server)

- Linux system man help tips (Linux)

- Android Studio Personalization (Linux)

- Three details reflect the Unix system security (Linux)

- Oracle Bug caused by the collection of AWR Snapshot fault (Database)

- Use Linux firewall camouflage defense hacked (Linux)

- Security enhancements in Ubuntu ssh service (Linux)

- Linux, Eclipse flash back and reinstall the JDK methods (Linux)

- To create a file in Linux directory by setfacl (Linux)

- Linux network monitoring tools ntopng installation (Linux)

- How to install Linux Go Language (Linux)

- Linux Fundamentals of the text, data flow processing orders (Linux)

- Compile and install Redis and register as a system service under RedHat5.8 environment (Database)

- Installed in the desktop version of Ubuntu Unity Tweak Tool (Linux)

  Ubuntu install ruby
  Add Date : 2018-11-21      
  1. First, the use of apt-get, you must first update, or some of the reservoir is not installed on the.

$ Sudo apt-getupdate

$ Sudo apt-get install -y build-essential openssl curl libcurl3-dev libreadline6 libreadline6-dev git zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf automake libtool imagemagick libmagickwand-dev libpcre3-dev libsqlite3-dev Libmysql-ruby libmysqlclient-dev

2. Install RVM

$ Curl -Lhttps: //get.rvm.io | bash -s stable

This step is not the following, to logout again

$ Source ~ / .rvm / scripts / rvm

Then installed rvm

$ Rvm -v3. Install Ruby

The first implementation of what, or the following process can not run.

$ Rvm autolibs enable The following optional step, if it is in their own virtual machine or domestic server will be added, the foreign VPS what is not needed. Function is to change the source of rvm Taobao provided the source.

$ Sed -i .bak 's! Ftp.ruby-lang.org/pub/ruby! Ruby.taobao.org/mirrors/ruby!' $ Rvm_path / config / db Then install

$ Rvm pkg install readline

$ Rvm install 2.0.0 --with-readline-dir = $ rvm_path / usr Finally, set the version of ruby

$ Rvm 2.0.0 --default

Well, look at the results

$ Ruby -v

Ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]

$ Gem -v

2.0.34. Gem allocation of the source, but also domestic foreign optional

$ Gem source -r https://rubygems.org/$ gem source -a http://ruby.taobao.org
- Recycle Bin function realization in Linux (Linux)
- Learning C ++ Standard Template Library and data structures (Programming)
- How to install with JSON support in Ubuntu 15.04 SQLite 3.9.1 (Database)
- Python Socket Network Programming (Programming)
- Merge sort Java implementation (Programming)
- Win8 mount disk partitions under Ubuntu (Linux)
- Boost - Memory Management - smart pointers (Programming)
- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)
- Ease of use "Explain Shell" script to understand Shell command (Linux)
- Spring AOP (Programming)
- Nagios (centreon) monitoring Linux Log (Server)
- Shared directory settings between Linux and Linux (Linux)
- Systemd on RHEL7 (Linux)
- PLSQL Developer synchronization table tools (Database)
- JavaScript cross-browser event object library (Programming)
- How to clear the v $ archived_log view expiration information (Database)
- Oracle 11g RAC manually playing GI PSU patch ( (Database)
- Using the Android interface in Parcelable (Programming)
- Setting Squid successful anti-hotlinking (Linux)
- Profile Linux users login shell and login to read (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.