Great Lakes Ruby Bash

June
18th
'11

Located in Cleveland, OH @ Case Western Reserve University

Ubuntu

If you’re installing Rails on Ubuntu, follow these directions to install rails:

1. Install ruby and other dependencies from apt-get:
sudo apt-get install ruby ruby-dev irb ri rdoc libopenssl-ruby sqlite3 libsqlite3-dev libsqlite3-ruby

2. Install the Rubygems package manager
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.6.tgz
tar -xvzf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem

3. Install rails 3
sudo gem install tzinfo builder memcache-client rack rack-mount rack-test erubis mail text-format bundler thor i18n sqlite3-ruby
sudo gem install rails --pre

4. Make sure it’s working
cd ~
rails test
cd test
rails generate scaffold Post title:string body:text
rake db:migrate
rails server
Then there should be a simple web interface for editing posts at http://localhost:3000/posts

Sign Up Now
Reserve Your Seat!

$50 gets you in the door

Stay connected with us on Twitter

Sponsors

  • LeanDog Software
  • densitypop
  • PeepCode
  • Harmony
  • Apress