[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Rails 0.10.1 routing error

Yuu

3/21/2005 3:56:00 PM

Hi there,

I just installed gem 0.8.8 & rails 0.10.1 on a freshly installed
machine. I've cceated a site and a single controller ('test'). I've
added the method

def index
render_text= "Booh"
end

to the controller.

well, in better days i could've accessed the method as

http://localhost:3000/test/index

But with this latest version Rails shows the following error:

Routing Error Cannot load config/routes.rb: No such file to load --
../../config/../config/routes.rb

But the routes.rb is neatly installed in the config dir, of course.

Anyone got any idea what is going on?

REgards,

Iwan
1 Answer

Malte Milatz

3/21/2005 5:30:00 PM

0

Iwan van der Kleyn:
> def index
> render_text= "Booh"
> end

Though this won't help in getting rid of your problem, I suppose you'll
want to omit the equal sign above if you want the code to do something
useful.

Malte