Great Lakes Ruby Bash

June
18th
'11

Located in Cleveland, OH @ Case Western Reserve University

Windows

1. Install Ruby 1.8.7 from RubyInstaller.org . Be sure select the ‘Add to path’ option while installing.

2. Install some dependencies (from the command line!):
gem install tzinfo builder bundler memcache-client rack rack-mount rack-test erubis mail text-format thor i18n

3. Install the sqlite3 database
Download the precompiled binaries for Windows. Get both the command-line program and the DLL without the TCL bindings.
Both are available here
You should have a .exe, .def, and .dll. Put all of these files in C:\ruby\bin.
install the gem with gem install sqlite3-ruby

3. Install the rails beta:
gem install rails --pre

4. Make sure it’s working:
rails test
cd test
ruby script/rails generate scaffold Post title:string body:text
rake db:migrate
ruby script\rails server
You should then be able to point your browser to localhost:3000/posts and see a simple interface for managing posts.
CTRL+C will shut down your server.

5. Come to the tutorial, ready to eat pizza.

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