Installing Rails
凌轶
2023-12-01
On Windows:
1. install ruby. (ruby -v show the version of ruby)http://rubyinstaller.rubyforge.org
2. gem --version (check if RubyGems is installed)
3. gem install rails --include-dependencies.
On Unix/Linux
1. install ruby( download ruby-x.y.z.tar.gz from http://www.ruby-lang.org/en/)
2. make and install
3. install rubygems run "ruby setup.rb"
4. sudo gem install rails --include=dependencies.
DataBase driver:
DB2 http://raa.ruby-lang.org/project/ruby-db2
MySQL http://www.tmtm.org/en/mysql/ruby
Oracle http://rubyforge.org/projects/ruby-oci8
Postgres http://ruby.scripting.ca/postgres
SQLite http://rubyforge.org/projects/sqlite-ruby