ubuntu 10.10 installed under rvm ruby 1.9.2 rails3
Advertisements
http://lanvige.iteye.com/blog/851836 pretty good. I recorded some of the situations I have about it.
1 RVM
Official website would have been very easy to install
$ bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
Explain here:
Do not copy a boot into the $ symbol
b rmv installation dependent curl and git
could curl and git
sudo aptitude install curl gitdirectly loaded. But if you are fitted in accordance with the instructions RVM
Source will be compiled
# Install git bash < <( curl -s https://rvm.beginrescueend.com/install/git ) # Install RVM bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Will meet the build-essential and zlib1g zlib1g-dev issue is to advance the build environment installed.
sudo aptitude install zlib1g zlib1g-dev build-essential
2 RVM configuration and ruby
RVM installed, you can see the shows. Bahrain is also quite good tips. There are
a load RVM environment
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Put. Bashrc or. Bash_profile
b According to rely on prompts to install the ruby
sudo aptitude install build-essential bison openssl libreadline5 libreadline5-dev curl git-core zlib1g zlib1g-dev libssl-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libmysqlclient-dev
c installed ruby 1.9.2 and set as the default
rvm install 1.9.2 rvm 1.9.2 --default
3. Install rails 3
gem install rails
Here a little note, rvm understanding, so do not add sudo. Because the design of RVM is based on the user's system can not be loaded to the next.
Related Posts of ubuntu 10.10 installed under rvm ruby 1.9.2 rails3
-
Oracle instant clent for ruby / rails on cygwin
Environment: XP: oracle full client, ruby, rails, gem cygwin: ruby rails, gem (the version with the XP version) Needs: for cygwin is installed under the rails platform support oci Steps: <1> download oracle instant client (10.2.0.3 Instant Client Pa
-
Hibernate configuration parameters hibernate.hbm2ddl.auto
Hibernate in the configuration file: <properties> <property name="hibernate.hbm2ddl.auto" value="create" /> </ properties> Parameter Description: validate load hibernate, the authentication to create a database t ...
-
Build flex + spring + blazeds + hibernate application
Build flex + spring + blazeds + hibernate application First, set up the project blazeds 1, will blazeds.war extract to a directory, such as: myflex /; 2, set up java works were such as: MyFlex, in the orientation of selection create project from exis ...
-
Hibernate connection pool configuration
Hibernate connection pool configuration <! - Jdbc -> <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver </ property> <property name="connection.url"> jdbc: oracle: thin: @ 10.203.14.132:15
-
hibernate generic generic DAO
package org.lzpeng.dao; import java.io.Serializable; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.criterion.Criterion; import org.springside.modules.orm.hibernate.Page; /** * * @version 2009-1-10 *
-
can not be represented as java.sql.Timestamp
Development of procedures for the use of hibernate when, some time there is no need to fill in the fields, but after the hibernate query time reported "Java.sql.SQLException: Value'0000-00-00 'can not be represented as java.sql.Timestamp ...
-
Struts2 + hibernate + spring problem user log in
dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q
-
Hibernate secondary cache
Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...
-
Hibernate's lazy strategy
hibernate Lazy strategy can be used in: <class> tag, it can be true / false Tags can <PROPERTY> values true / false type of necessary tools to enhance <set> <list> can tag values true / false / extra <many-to-one> <on ...












