Under the rvm on Ubuntu 10.04 and rails3 development environment set up ruby1.9.2
Advertisements
1, update rvm
rvm update --head && rvm reload
2, install full version of ruby 1.9.2
rvm install 1.9.2
3, the establishment of gemset, storage rails3
rvm gemset create rails3.0
4, the default use of the gems 1.9.2 and rails3.0rc2
rvm 1.9.2@rails3.0 --default
5, the installation rails3.0, do not need to add sudo
gem install rails
6, test application to establish rails3
rails new blog cd blog
Then we can in the project root directory Gemfile file to add required Gems, which by default includes rails and sqlite3-ruby, we retain the default settings, execute the following command to install:
bundle install
That we should only need to install the sqlite3-ruby, due to the lack sqlite3.h, so we need to install ubuntu under libsqlite3-dev package
sudo apt-get install libsqlite3-dev
7, start the application blank rails3
rails server
8, install jdk6, in preparation for the installation netbean
ubuntu 10.04 from official sources, after the removal of the sun's jdk, but we can source from the official partners to find sun-jdk, the command is as follows:
sudo apt-get install python-software-properties sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get update sudo apt-get install sun-java6-jdk
9, download and install Netbean 6.9.1
wget http://download.netbeans.org/netbeans/6.9.1/final/bundles/netbeans-6.9.1-ml-ruby-linux.sh
10, set Netbean environment settings under ruby ruby directory
/home/xxx/.rvm/rubies/ruby-1.9.2-p0/bin/ruby
Set gem directory
/home/xxx/.rvm/gems/ruby-1.9.2-p0@rails3.0
Related Posts of Under the rvm on Ubuntu 10.04 and rails3 development environment set up ruby1.9.2
-
J2EEer Learn Ruby
Ruby has long heard of the development of efficient and accurate is to use Ruby on Rails to develop WEB applications very convenient. While J2EE has a lot of very good Opensource framework, automatic code generation tools, can greatly enhance the developm
-
Subject: rake and rake command what is brief introduction
http://www.javaeye.com/topic/300375 Rake (http://rake.rubyforge.org) are to build a language, and make (www.gnu.org/software/make/) ant (http://ant.apache.org) is to imagine. Rake is written in Ruby, it supported its own DSL to handle and maintain Ru ...
-
ruby MBARI large patches Performance Evaluation Report
Before JavaEye news ruby memory leak culprit - the specter of a detailed analysis of the current pointer Ruby official version (MRI version) causes memory leaks. Brent Roman today issued a Super patch , Which contains 6 patch file to resolve the Ruby ...
-
Ruby Symbol
Ruby is a completely cross-platform object-oriented scripting language, built on the Ruby-based Web framework Ruby on Rails (ROR) is the field of web development is gaining increasing acceptance. ROR substantial use of the Ruby language features, Symbol i
-
ror development environment to build
Ror about the development environment set up, records are as follows. 1. Netbeans6.5 installation download netbeans6.5 address http://zh-cn.netbeans.org/download/6.5/ml/ Ruby can download a separate version that only around 50M. II. Ruby set up the e ...
-
ActiveMQ practice the road (four) ActiveMQ 4.x + JBoss 4.x MDP actual articles
Keyword: ActiveMQ ActiveMQ practice the road (four) ActiveMQ 4.x + JBoss 4.x MDP actual articles At <<ActiveMQ Practice ( Three ) ActiveMQ 4.x +JBoss 4.x Consolidating articles >> which we compare in detail the ActiveMQ with JBoss integration
-
extjs development environment set up and practice
1, download and extract the extjs 2, download eclipse and Eclipse AJAX Toolkit Framework (ATF) I have been accustomed to using eclipse as a development environment, a variety of open-source plugin so that eclipse has all-around performance, operating effi
-
log4j easy application in java
JAVA development, frequently used the log output, in a so-called most of the software company will have its own set of configuration style, re-read the configuration file to initialize property of the log, it will be good, but sometimes may not need to fu
-
In the Spring to configure Service
JTA in Spring Development Environment: JDK1.5 (sun) + Myeclipse6.0 + Tomcat5.5 + ant 1.7.1 + MySql5.0.4 Framework version: JSF1.2 (sun) + hibernate3.3.1.GA + spring2.5.6 JTA (Java Transaction API) Only supports the standard EJB Persistence (JTA) transacti
-
Learn Java flow
Related Articles: J2EE without EJB Introducing to Spring Framework (English revised edition) J2EE without EJB caused consider Recommend circles: reading space More related recommend Java Learning Path (1), tools, articles First, JDK (Java Development Kit)












