Women in Technology

Hear us Roar



Article:
  Rolling with Ruby on Rails
Subject:   Help me!
Date:   2006-08-21 19:48:58
From:   curth
Response to: Help me!

After you changed database.yml to just say "cookbook", did you shutdown and restart the web server? Is it now saying "unknown database cookbook", or does it still say "unknown database cookbook_development"?


You could try using Instant Rails which comes with a working version of the cookbook app preinstalled (that way you could compare what you've got against something that works):


http://instantrails.rubyforge.org/


Also, there is a modified version of Rolling with Ruby on Rails that has been made specific to Instant Rails... you could try working through that:


http://instantrails.rubyforge.org/wiki/wiki.pl?Rolling_With_Ruby_On_Instant_Rails_Tutorial

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Help me!
    2006-08-22 21:52:24  THKZ [View]

    It works now. I forgot to restart the web server. Thanks for letting me know the modified version of Rolling with Ruby on Rails and for your help.I'm gonna try that modified version. I would like to ask you one more question. Is it suitable to use Instant Rails for development? Which one do you prefer,One-click Ruby installer or Instant Rails? Because it is said Instant Rails is a one-stop Rails runtime solution.I'm not sure if it is different like JRE and JDK.
    • Curt Hibbs photo Help me!
      2006-08-23 05:58:42  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

      The Ruby runtime in Instant Rails *is* the one-click installer (I'm the maintainer of both projects). The onlt difference is that since Instant Rails does not modify your system in any way (no registry entries, no environment settings), you don't get the nice start menu entries that you get with the OCI.

      I use Instant Rails for all of my Rails development work.