I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text "Dilbert rocks!" end end If I browse to 127.0.0.1 I get the default page, but if I then go to 127.0.0.1/mytest/index or ../mytest/dilbert, then I get the following rather exciting error: Unknown action No action responded to dilbert It took me a while to get lighty and rails to talk nicely, but now that I have it, I am quite happy. Scgi is apparently working, but I need this to work. I am very new to rails, so go easy on me (however I am a veteran of php/mysql/mssql setups). Benjamin O.
on 2006-04-03 23:33
on 2006-04-03 23:55
Hi Benjamin, Try browsing to localhost:3000/... or 127.0.0.1:3000/... I think you need to specify the port number along with the IP address. HTH, Bill ----- Original Message ----- From: "Benjamin O." <email@example.com> To: <firstname.lastname@example.org> Sent: 2006-04-03 2:32 PM Subject: [Rails] Problem with Windows not finding methods
on 2006-04-04 00:07
I had that initially, but you only need to specify the port number if you are using WEBrick (sp?) or haven't changed the default ports on lighty. I've tried that tactic without any luck. Thanks for the suggestion, though--any other ideas? Benjamin O.
on 2006-04-04 00:19
Do you get this running if you just use WebRick? Gael
on 2006-04-04 00:25
Interesting--it works fine with WEbRick. Which is fine, but it means that I have no clue where to go from here. Anyone have any ideas. ben
on 2006-04-04 00:31
Sorry I can't be of more help. I had a bunch of similar problems early on and decided to use WEBrick for development so I could focus on learning RoR. That's enough for me to tackle right now ;-) Best of luck to you though. Hope you'll post a How-To on the wiki when you get it figured out. Best regards, Bill ----- Original Message ----- From: "Benjamin O." <email@example.com> To: <firstname.lastname@example.org> Sent: 2006-04-03 3:06 PM Subject: Re: [Rails] Problem with Windows not finding methods > > Try browsing to localhost:3000/... or 127.0.0.1:3000/... I think you need
on 2006-04-04 00:38
I may do the same, but right now it's not looking good.
on 2006-04-04 02:14
On 03/04/06, Benjamin O. <email@example.com> wrote: > Interesting--it works fine with WEbRick. Which is fine, but it means > that I have no clue where to go from here. Anyone have any ideas. OK this means the routing isn't working when you use SCGI, I never tried SCGI with Lighty but I got it running with Apache easy, did you generate a scgi.yaml file and made sure you didnt use the POSIX signal? (i.e. scgi_ctrl config -S), then run scgi_service in your rails project directory and it should work like a charm. Gael
on 2006-04-04 05:14
Thanks--I'll try that, but I was fairly certain that I had done all that. I'll double check my configs and try it again. I'll reply if I find anything out. ben
on 2006-04-05 17:17
I regenerated the scgi.yaml and it works fine--thanks! Ben