Ubuntu12.04 install RubyonRailsUbuntu12.04 install RubyonRails: install curl, git: www.2cto. comsudoapt-getinstallcurlgit-core configure git: gitconfig -- globaluser. name & quot; array & quot; gitconfig
Ubuntu 12.04 install Ruby on Rails Ubuntu 12.04 install Ruby on Rails: install curl, git: www.2cto.com sudo apt-get install curl git-core configure git: git config -- global user. name "array" git config -- global user. e-mail yourown@address.com install rvm: bash-s stable <(curl-s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) echo '[[-s "$ HOME /. rvm/scripts/rvm "] &. "$ HOME /. rvm/scripts/rvm "# Load R VM function'> ~ /. Bash_profile source ~ /. Bash_profile use rvm to install Ruby & Rails: www.2cto.com $ rvm list known # select a version from the result to install $ rvm install 1.9.3 # run the following command to check the version $ ruby-v $ gem update -- system $ gem update $ gem install rails $ rails-v to create a Rials project: rails new demo this step should have a problem, prompt: sqlite3.h is missing need to install sqlite & libsqlite3: sudo apt-get install sqlite libsqlite3-dev
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service