Noob Alert. I am learning RoR, have Windows 7, so I downloaded the latest BitNami stack and installed that.
Ran through the Rails guides and created my first application ‘A blog’ and everything worked fine.
However, I want to move on to my second rails app, but I don’t know how to navigate to it. The first one was at localhost:<port>, and my routes.rb file has map.root => :controller => "home".
When I double click on the index.html file in my ‘newapp/public’ folder I see the ‘Welcome to Rails’ page that indicates that this new app was created successfully.
However when I go to localhost/newapp/index I don’t see it. I get a routing error:
Routing Error
No route matches "/AddressBook/index" with {:method=>:get}
Help!
[Edit] bump Has anyone gotten a chance to look into this?
You need to change the port that the second instance runs on. In the below picture, taken from here, change the port number of the second instance from
80to to (say)81. Then visitlocalhost:81in your browser for the second instance.(source: moodle.org)