SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Help! InstantRails dont wanna work :(

    Hi. My 1st post!

    Been trying to get Ruby & Rails working on a windows machine for most of yesterday. Gave up after not being able to get IIS to bring up a Rails page on localhost.

    So InstantRails seemed like the way forward. Got it installed ok, but I cant get it to serve Rails pages, specifically the cookbook app .. have gone through the instructions, and put the index.html from the cookbook app folder into the www folder. It says:

    The requested URL /recipe/list was not found on this server.

    (after loading http://www.railscookbook.com which redirects to http://www.railscookbook.com/recipe/list)

    If i try http://www.railscookbook.com:3001 it just loads forever.

    This is all on Firefox BTW.

    Thanks in advance
    Adam

  2. #2
    SitePoint Guru
    Join Date
    Aug 2005
    Posts
    986
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't use either InstantRails or ISS for a development environment or production environment. It's better to install RubyOneClickInstaller and type this in a console:

    gem install rails

    This is much easier and will probably work better.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jan 2005
    Location
    Nelson, NZ
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I got demos working using InstantRails

    You have to edit config files as per the instructions. You also need to stop Apache and MySql if you have them running "normally" as they conflict with the InstantRails "package deal". I got it working with the SCGI server on port 9999.

    What I have failed to get working is Radiant in the rails-apps directory. There is nothing in the logs, just a 500 error. Where do you start debugging?

    Now a few hours later and it works, all I changed was environment.rb to uncomment the debug line, but I don't need debugs anymore!
    Last edited by posboss; Oct 10, 2006 at 12:13.
    Scryptik Javascript editor - with inbuilt syntax error checker

  4. #4
    SitePoint Member
    Join Date
    Oct 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi

    I gave up and tried it on another computer, where everything works beautifully - Instant Rails or Rails + Apache + MySQL.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •