« New Venture, Part 7 | Main | My Ruby on Rails Experience, Part 2 »

Nov 24, 2005

My Ruby on Rails Experience, Part 1

This blog series will document my experience porting a non-trivial software application from PHP to Ruby on Rails.

The first thing I did was to visit the Ruby On Rails site. Then I clicked on the download menu and followed the instructions to get hold of Ruby Gems. This took me to RubyForge. After downloading and installing Ruby Gems, I figured out that I needed to download Ruby first. Duh. Shouldn't the Ruby on Rails site suggest this before downloading Ruby Gems?

Anyhow, I went to the main Ruby language site to download the latest version of the language. The download link there took me to the RubyForge page for the language. Then I downloaded the latest release and ran the installer. When the installer asked me for the directory, the "Install" button refused to highlight and let me continue. I got around this obvious bug by adding and then immediately removing a letter from the install path; at this point the installer let me continue.

After installation, I noticed that Ruby Gems was automatically installed by the language installer, therefore making my original install redundant. So I removed the initial installation of Ruby Gems and used the one that comes with the language instead. Finally, I used Ruby Gems to install Ruby on Rails and everything seemed to work.

When I created my first demo by typing "rails demo" and the ran it using "ruby script/server", the welcome page at "http://localhost:3000/" came up in my browser with the top heading truncated. I looked at the source of the page and it looks like the style sheet is a bit messed up.

Overall, my installation experience wasn't too bad, but could easily have been better. My recommendations to the Ruby crew are:

  • fix the installer bug
  • on the Ruby on Rails site, instruct people to download Ruby, not Ruby Gems
  • fix the style sheet on the demo program so the top heading is not truncated

My next step is to create a simple home page for my product that allows me to add, view, modify and delete a simple education artifact.

Part 2 of this series is here.

Slippers

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/t/trackback/37578/3728786

Listed below are links to weblogs that reference My Ruby on Rails Experience, Part 1:

» Grahams Ruby on Rails Experience, Part 1 from Agylen
Graham Glass just started a series of articles about moving from PHP (not Java) to Ruby on Rails, something I am interested in following very closely. Graham Glass: This blog series will document my experience porting a non-trivial software ap... [Read More]

Comments

Graham, I am going to follow your blogs and start my RoR 101. Nice blog

Good to read blog. I followed the instructions and got my rails up and running

Post a comment

Comments are moderated, and will not appear on this weblog until the author has approved them.

If you have a TypeKey or TypePad account, please Sign In

Destiny

  • Destiny is my science fiction movie about the future of humanity. It's an epic, similar in breadth and scope to 2001: A Space Odyssey.

    To see the 18 minute video, click on the graphic below.

    Destiny17small

People