A2 Software Development Study Group 10/27: Ruby on Rails

The Software Development Study Group has been meeting in the SRT office (206 S. Fifth, Suite 200) on Tuesdays at 5:30pm for several weeks now.  We've picked a jam session format, meaning that each week a different person leads a one-hour jam any coding topic.  Getting to actually write some code instead of just hearing someone talk has been awesome! And everyone knows that sometimes the hardest part about getting started with a new technology is just figuring out what to install, and how to say "Hello, World!"   So far we've had:

 

October 6- Bill Heitzeg: Problem Solving

October 13 - F. Andy Seidl : XSL

October 20 - Ben Barefield : Ruby

 

And the next one is yours truly, using the ruby base we got last time to give everyone an intro to rails.  Here are the pre-reqs to this week's jam:

 

1)  Make sure you have ruby installed somewhere, and a command-line available (either windows, cygwin, whatever).  If you don't have a preferred IDE or editor, windows ruby comes with scite, which is pretty cool.

2)  We will need to install some gems (ruby plugin libraries), so if your RubyGems system is old, update it by running
gem update —system 

3) We will be using SQLite instead of mySQL to minimize pain.   Download the pre-compiled version of SQLite3 3.5.4 from the SQLite web site (http://www.sqlite.org/sqlitedll-3_6_19.zip ) , unzip it and copy sqlite3.dll and sqlite3.def to your ruby/bin directory.

4) Now that SQLite3 is installed, just install the gem:
    gem install sqlite3-ruby

5) Install the rails gem:
gem install rails


6) Read the first 2 sections of this tutorial, which we will be using: http://guides.rubyonrails.org/getting_started.html

 

Hope to see you there!

Published Sun, Oct 25 2009 8:27 PM by mfedner
Filed under:

Leave a Comment

(required) 
(required) 
(optional)
(required)