Ruby 1.9.1 & Rails 3.0

 

Ruby

http://www.ruby-lang.org/en/downloads/

 

Rails

http://guides.rails.info/3_0_release_notes.html

 

install guide

http://www.iteye.com/topic/586266?page=2

 

sudo apt-get install libmysql-ruby

 sudo apt-get install libmysqlclient15-dev

gem install mysql

 

 

unset GEM_HOME

http://grigio.org/how_install_rails_3_0_beta_ubuntu_linux_step_step

in `push_gem_version_on_load_path': undefined method `<=>' for nil:NilClass (NoMethodError)

You need to set up the GEM_HOME variable

export GEM_HOME=/usr/lib/ruby1.9/gems/1.9.0

你可能感兴趣的:(linux,mysql,ubuntu,Ruby,Rails)