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
ObjectiveSee a lot of articles say Ruby environment is very difficult to build on windows, there will be a variety of strange problems, so it is recommended to Linux and Mac installation development. But I followed the tutorials and the questions were not too much. It took about 2.5 hours or so to complete. So don't be scared to pee, the following is the installation of the steps and specific version of the record for everyone's reference.
Installati
How to compile and install ruby source code in win7, and how to compile win7ruby source code
At work, we need to embed ruby c api in c ++ Code. However, compilation fails in the vs project, so we can find the reason by manually compiling ruby from the source code (previously installed using rubyinstaller ).
First dow
Ruby on rails gem install pg cannot be installed, rubyrails
gem install pg -v '0.18.2'Building native extensions. This could take a while...ERROR: Error installing pg: ERROR: Failed to build gem native extension. current directory: /Users/bevan/.rvm/gems/ruby-2.3.0/gems/pg-0.18.2/ext/Users/bevan/.rvm/rubies/
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
Ruby on Rails environment (based on Win XP)
The setup of an ROR environment is relatively simple, but there are several small points to note, which may save your mind. 1. Install Ruby first. The current version is 1.8.6.
Download here, This is an EXE file. You can simply click Next. The default installation path is C:/Ruby
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/
In rubymine, if the Ruby interpreter chooses 1.9.3, The ruby-debug-base19x must be installed during debugging, but nothing else can be installed, even the ruby-debug-base193, but this often reports an error. Find the answer on stackoverflow.com.
Curl-L "http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem"-O/tmp/linecache19-0.5.13.gemgem
The following installation steps can be installed under/usr/local/rbenv, and all users can share rbenv. #rbenv安装 (/usr/local/rbenv) #安装依赖, the root user is required Yum install-y git Yum Install-y readline-devel Yum install-y openssl-devel Zlib-devel Yum Install-y postgresql-devel #关闭ssl验证, if the clone reports a CA er
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
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.