[{ALLOW view All}] [{ALLOW edit Authenticated}] Notes: \\ 1. Install out of root folder "/" ! \\ 2. general apt commands {{{ apt-cache search <any_keyword> => search in apt cache apt-get update => updates cache apt-get upgrade => updates packages }}} 3. If you have a different user than root, use sudo \\ 4. I followed [this guide|https://help.ubuntu.com/community/RubyOnRails] ! Install Ruby 1. Install full ruby {{{apt-get install ruby-full build-essential}}} 2. Install rubygems (you will get version 1.3.1) {{{apt-get install rubygems1.8}}} 3. Get rubygems update {{{gem install rubygems-update}}} 4. Update rubygems (to 1.3.5), update_rubygems is in /var/lib/gems/1.8/bin {{{ export PATH=/var/lib/gems/1.8/bin:$PATH update_rubygems }}} ! Install Rails {{{gem install rails}}} __You may create an app now already (see below)__ !Install mysql connector 1. Install libs, the docu says {{{apt-get install libmysql-ruby libmysqlclient-dev}}} but one package is a virtual one, so use {{{ apt-get install libmysql-ruby apt-get install libmysqlclient15-dev }}} 2. Install connector {{{gem install mysql}}} ! Install App 1. Create app frame {{{rails DatePlanner -d mysql}}} 2. copy/update app, database.yml, images, stylesheets, javascripts, index.html 3. Start Webrick on port 81 as daemon {{{ruby script/server webrick -p 81 -d}}} 4. Copy database, see [MySql] ! Install will_paginate {{{ gem install will_paginate }}} To enable the library your Rails 2.0.x or 1.2.x project, require it in “config/environment.rb” {{{ Rails::Initializer.run do |config| ... end require "will_paginate" }}}