CentOS6.2 Install Rvm+ruby+rails (1) RVM The official website should be revised once,Using Java code
Curl-l https://get.rvm.io | bash-s stable
Download and install the RVM stable version. Not using Bash Soon after in
interrupted. You can download ruby-1.9.2-p0.tar.bz2 with the tool and manually place it in ~ /. Rvm/archives directory. Then run this command to decompress and install it.
Set Ruby of this version as the default
Java code
$ Rvm -- default
RVM is a command-line tool that provides the management and switching of a convenient, multiple-version Ruby environment.
https://rvm.io/
If you are going to learn ruby/rails, RVM is one of the essential tools.
All commands here are operated under user privileges, and any command is best not to use sudo.RVM Installa
Transferred from: http://henter.me/post/ruby-rvm-gem-rake-bundle-rails.htmlRubyThat's not going to be a lot.RVMTo help you install the Ruby environment, help you manage multiple ruby environments, and help you manage which Ruby en
Ruby
You don't need to talk about this.
RVM
It is used to help you install the Ruby environment, help you manage multiple Ruby environments, and help you manage the Ruby environment on which the
Ruby
That's not much to say.
RVM
Used to help you install a ruby environment, help you manage multiple ruby environments, and help you manage which Ruby environment you use on your computer for each
Ruby-2.1.1-#downloading rubygems-2.2.3% total% Received% xferd Average speed Time Time currentDload Upload Total spent0 0 0 0 0 0 0 0--:--:--0:00:01--:--:--0curl: (+) The requested URL returned Error:4 Found notThe requested URL does not exist: ' http://production.cf.rubygems.org/rubygems/rubygems-2.2.3.tgz 'Checking fallback:ftp://production.cf.rubygems.org/rubygems/rubygems-2.2.3.tgzChecking fallback:http://www.mirrorservice.org/sites/production.cf.
Use Fastlane for fast, continuous updates and a range of issues during installation:1. Installing the Fastlane:sudo gem install FastlaneErrorERROR: Failed to build gem native extension.--remove http://rubygems.org/-a https://ruby.taobao.org/# View current gem source gem sources* * * * sourceshttp://ruby.taobao.org- -UErrors still exist;And then I found out that it was a ruby version.2. Update the
What is rvm?
Rvm is Ruby Version Manager, a command line tool developed by Wayne E. Seguin. Rvm allows you to easily install and manage ruby productivity environments, such as interpreters and gems of different versions.
For Mac occasions:Which Ruby-"/usr/bin/ruby-" This is the Ruby that comes with Mac, and we want to be able to manage the Ruby version.Installing RVMCurl-l https://~/.profileCheck install ruby conditionRVM RequirementsStatus 1 is w
Ruby
You don't need to talk about this.Rvm
It is used to help you install the ruby environment, help you manage multiple Ruby environments, and help you manage the ruby environment on which the ruby application you develop uses th
page.
1
[[ -s "$HOME/.rvm/scripts/rvm"]] source "$HOME/.rvm/scripts/rvm"# This loads RVM into a shell session.
If you're using Vim, you'll need to the press to switch into first i Insert Mode . Once the line had been pasted, press Escape ,
Install and uninstall Ruby in Ubuntu
In ubuntu12.04, run the following command to install Ruby 1.8 by default.1 $ sudoapt-Get installruby
I. The following describes how to install ruby1.9.3 (in some versions of Linux, 1.8 must be installed first)
~/.bashrc $ source ~/.bash_profile $ source ~/.profile$ rvm -v3> If you have the following tips, please reload RVMA RVM version 1.27.0 (latest) is installed yet 1.25.23 (stable) is loaded.Please do one of the following: * ‘rvm reload‘ * open a new shell * ‘echo rvm_auto_reload_flag=1 >> ~/.rvmrc‘ # for auto reload w
RVMWhat is RVM do not explain here, you will slowly understand the back.$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3$ curl -sSL https://get.rvm.io | bash -s stable# 如果上面的连接失败,可以尝试: $ curl -L https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stableYou may be asked for a sudo
"$ (curl-fsSL https://raw.github.com/mxcl/homebrew/go/install )"
Step 1-install RVM
What RVM is doing is not explained here, and you will understand it later.
$ Curl-L https://get.rvm.io | bash-s stable
During this period, you may be asked about the sudo administrator password and automatically
just want the latest$rvm install current rvm use currentAlso continue to wait for a lengthy download, the compilation process, after completion, Ruby, Ruby Gems is installed.Also attached:Query the
system is a Mac, so these tips are based on the MAC system.
When running a Ruby script or bundle install, the error log must be read carefully. If there is a clear error log, they can solve the problem can be solved, I do not know how to solve the choice of keywords Google, and generally can find solutions. Fear is afraid of Google after a lap or do not know what to do. Then you can try several of the fol
Install Ruby on Rails in Ubuntu 15.04
In this article, we will learn how to use rbenv to install Ruby on Rails in Ubuntu 15.04. We chose Ubuntu as the operating system because Ubuntu is an operating system with many packages and complete documents in the Linux release, so I think this is the right choice. If you have n
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.