Https://github.com/sstephenson/rbenv
Check out rbenv into ~/.rbenv .$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
Add to your for access to the ~/.rbenv/bin $PATH rbenv command-line utility.$ Echo ' Export path= ' $HOME/.rbenv/bin: $PATH "' >> ~/.bash_profileUbuntu Desktop Note: Modify your ~/.bashrc instead of ~/.bash_profile .Zsh Note: Modify your ~/.zshrc file instead of ~/.bash_profile .
Add to rbenv init your shell to enable shims and autocompletion.$ Echo ' eval ' $
1. Install Ruby, rails, mongrel, and apache2.2 download one-click Ruby install from the rubyforge website and run the installation program. Then Ruby and rubygems are installed. Run the command: Gem install rails-ygem
Ruby 1.9.3-P0 makes psych-the replacement for 1.8.7'sYamlLibrary, syck-the defaultYamlParser. Psych is a wrapper around und libyaml, so you're Going To Need it installed and configuredBeforeInstalling Ruby.
If you install 1.9.3-P0 without libyaml, You'll see warnings like this:
It seems your ruby installation is mi
It can be installed using sudo apt-get install ruby, but the version installed in this way is generally older. Alternatively, you can install the new version in the following ways.
1. First update the software source, using the domestic. Reference: Http://wiki.ubuntu.org.cn/%E6%BA%90%E5%88%97%E8%A1%A8
2. Refresh the list:
Install and configure mysql in ruby to install mysql database in rubyonrails 1. install mysql in the system: Download mysql software. you can download a lot of software from Baidu or go to the mysql Chinese official website to download and install the software, I chose to
Install and configure mysql under ruby on rails install mysql database 1. Install mysql in the system: Download mysql software, many of which can be downloaded on Baidu, or go to the mysql Chinese official website to download and install the software. I chose 5.1.62 to
Because the system was reinstalled, we tried to use rvm to install and manage Ruby and rails and record the installation process.
Install curl first
Shell code
$ Sudo apt-Get install curl
Because the rvm Installation File is obtained from GitHub through git, a local git is also required. I installed it through bu
The official website said that the development environment for installing ruby-gnome2 under Ubuntu is very simple. The apt-getinstallruby-gnome2 can install many libraries with just one command. But in fact, I found this in rubyextconf. rb compilation will ignore a lot of things, so I lost a few hair, found that after installing the following libraries can execute Ruby
Three ways to install Ruby in Ubuntu systemChszs, reprint need to indicate. Blog home:Http://blog.csdn.net/chszsRuby is an open-source, dynamic programming language that has a graceful syntax for building scalable Web applications. Ruby Gems is a great way to enhance the development efficiency of ruby developers.There
Configure the Ruby environment before installing cocoapods, this article summarizes how to install the ruby environment. Installing the ruby environment requires first installing Xcode and then installing homebrew, and then installing RVM to install the
Ubuntu installation and Development Kit
$Sudo apt-Get install wget Vim build-essential OpenSSL libreadline6 libreadline6-dev curl Git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev Autoconf automake libtool ImageMagick libpcre3-dev
Step 1-install rvm
What rvm is doing is not explained here, and you will understand it later.
$Bash
After waiting for a while, you can successfu
People who have worked on Ruby projects may feel the same way. rubygems.org's access to China is too slow. Every time we install bundle, we have to wait for a long time, but when we download the corresponding gems file through a browser, the speed is refreshing... Why is this happening? Clearly, what we write in Gemfile is:
source"http://rubygems.org"
Now that bundle
How to install ruby in OS XPackage downloadLink: Http://pan.baidu.com/s/1mgMil5I Password: TIQGInstallationhttp://brew.sh/1. Install Brew First (command line execution)ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/
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.