Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Why don't the routes appear to be working? #3

Open
seungkoh opened this issue Nov 12, 2011 · 3 comments
Open

Why don't the routes appear to be working? #3

seungkoh opened this issue Nov 12, 2011 · 3 comments
Assignees

Comments

@seungkoh
Copy link

When I try to run lib/app.rb from the command line, the server starts, but the routes defined in app.rb are ignored (I get the default Sinatra page). I start the app from the root directory like this:

ruby lib/app.rb
@CrossTheStreams
Copy link
Member

The same thing has been happening to me- anybody know what we're missing?

@CrossTheStreams
Copy link
Member

Ah, apparently we were supposed to use the rackup command.

@seungkoh
Copy link
Author

Yeah, but I don't get why you can't just start the app without the rackup command.

@ghost ghost assigned bfaloona Dec 5, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants