•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Ruby section within the Web Development category of DaniWeb, a massive community of 391,610 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,608 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Ruby advertiser: SELL YOUR PRODUCT TODAY !
Views: 3280 | Replies: 4
![]() |
•
•
Join Date: Nov 2007
Location: Christchurch, NZ
Posts: 15
Reputation:
Rep Power: 1
Solved Threads: 0
Hi,
I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with.
First, when creating a project I used the ruby script/generate command and it worked fine but when I wanted to start the server I had to use ruby ./script/server (note the ./).
The difference confuses me.
The server then started up on port 3000 but browsing to localhost/3000 did not give me the default Rails page as it supposedly meant to...
Am I missing something simple here?
Thank you,
Steve
I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with.
First, when creating a project I used the ruby script/generate command and it worked fine but when I wanted to start the server I had to use ruby ./script/server (note the ./).
The difference confuses me.
The server then started up on port 3000 but browsing to localhost/3000 did not give me the default Rails page as it supposedly meant to...
Am I missing something simple here?
Thank you,
Steve
•
•
Join Date: Oct 2005
Location: Manchester, UK
Posts: 481
Reputation:
Rep Power: 3
Solved Threads: 31
•
•
•
•
Hi,
I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with.
First, when creating a project I used the ruby script/generate command and it worked fine but when I wanted to start the server I had to use ruby ./script/server (note the ./).
The difference confuses me.
The server then started up on port 3000 but browsing to localhost/3000 did not give me the default Rails page as it supposedly meant to...
Am I missing something simple here?
Thank you,
Steve
Try starting it and navigating to
http://localhost:3000
Note to self... pocket cup
•
•
Join Date: Nov 2007
Location: Christchurch, NZ
Posts: 15
Reputation:
Rep Power: 1
Solved Threads: 0
•
•
Join Date: May 2008
Posts: 31
Reputation:
Rep Power: 1
Solved Threads: 5
Try doing a:
To see if the service is really starting on that port or there's some other issue. If it times out the service definitely isn't started. Check your firewall settings too. Try unplugging your network cable, turning firewall completely off and hitting it.
Since it's localhost you don't need to leave yourself vulnerable while you test the service with the firewall turned off.
-Viz
telnet localhost 3000
To see if the service is really starting on that port or there's some other issue. If it times out the service definitely isn't started. Check your firewall settings too. Try unplugging your network cable, turning firewall completely off and hitting it.
Since it's localhost you don't need to leave yourself vulnerable while you test the service with the firewall turned off.
-Viz
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Ruby Marketplace
Similar Threads
- Aim Trouble (Windows NT / 2000 / XP / 2003)
- Trouble accessing some secure pages (Web Browsers)
- Hotmail Access Trouble (Web Browsers)
- Trouble logging in MSN messenger with gmail (Windows Software)
- rundll32 trouble (Viruses, Spyware and other Nasties)
- help creating objects for simulating cd collection (Java)
- Trouble accessing Hotmail (Web Browsers)
- Monitor or Video Card problem?? (Monitors, Displays and Video Cards)
- Trouble with JVM (Java)
Other Threads in the Ruby Forum
- Previous Thread: A nice guide for Ruby Programmers
- Next Thread: Team effort?


Linear Mode