SitePoint Sponsor |
|
User Tag List
Results 1 to 13 of 13
Thread: Ruby, Apachie and... WinXP?
-
Oct 21, 2004, 16:43 #1
- Join Date
- Nov 2001
- Location
- Bath, UK
- Posts
- 2,498
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ruby, Apachie and... WinXP?
Hi all,
Anyone know of a tutorial for setting up Ruby on a winXP machine running Apachie? For PHP work, I've been using XAMPP, so have skipped the whole "setting up Apachie" thing.
I have Ruby working from the command line, and Apachie working through XAMPP. Just looking for pointers on how to get them to talk to eachother. (This is just for local development, the production server is already set up with Ruby)
Thanks,
DouglasHello World
-
Oct 23, 2004, 15:24 #2
- Join Date
- Jun 2004
- Location
- Stillwater, MN
- Posts
- 96
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This looks like it could help you out:
http://www.loudthinking.com/arc/000328.html
Have you tried Rails yet, by the way?
-
Oct 12, 2005, 07:21 #3
- Join Date
- Jul 2004
- Location
- Gerodieville Central, UK
- Posts
- 446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Though this doesn't probably apply now to you directly Doug as it's year old, I thought I'd reply for the benefit of those who don't know (and because I didn't realise this was a 2004 post tile I was about to click post)
I found Apache and Rails a nightmare. Obviously, now I've used Lightty, I wouldn't go back to Apache unless I wanted to stab myself in the eyes with a fork. I think the way forward is to try and get Lightty running under Cygwin.
On windows, I stick to Webbrick, though I must say developing on Windows is a real pain as it's so slow not having C based MySQL bindings, and being stuck to Webrick if you don't have Lighty.
-
Oct 12, 2005, 08:14 #4
I was able to get it running using this tutorial:
http://electricvisions.com/rails.html
Would recommend though you stay with webrick while developing.
-
Oct 12, 2005, 09:02 #5
- Join Date
- Jul 2004
- Location
- Oklahoma
- Posts
- 119
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by DougBTX
-
Oct 14, 2005, 12:48 #6
- Join Date
- Dec 2004
- Location
- virginia
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
A good tutorial would help me out alot because I still can't get webrick to work on XP.
-
Oct 16, 2005, 14:52 #7
- Join Date
- Nov 2001
- Location
- Bath, UK
- Posts
- 2,498
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by joflow
DouglasHello World
-
Oct 17, 2005, 09:15 #8
- Join Date
- Jul 2004
- Location
- Gerodieville Central, UK
- Posts
- 446
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by DougBTX
-
Oct 17, 2005, 11:56 #9
- Join Date
- Dec 2004
- Location
- virginia
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by DougBTX
-
Oct 17, 2005, 12:38 #10
Originally Posted by joflow
-
Oct 17, 2005, 19:48 #11
- Join Date
- Dec 2004
- Location
- virginia
- Posts
- 188
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by vgarcia
Theres nothing outputted to the console when I try to load localhost in my browser.
-
Oct 18, 2005, 01:11 #12
- Join Date
- Jun 2004
- Location
- Stockholm, Sweden
- Posts
- 148
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What is the output of the console window when you run ruby script/server?
If there is a way to overcome the suffering, there is no need to worry; if there is no way to overcome the suffering, there is no point to worry.
- Shantideva
-
Oct 18, 2005, 04:45 #13
- Join Date
- Aug 2005
- Posts
- 986
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
What happens if you follow these steps:
1. create a directory 'dev' in c:, that is C:\dev
2. Open a console window
3. Type "cd C:\dev", and then [enter]
4. Type "rails test" [enter]
5. Type "cd test" [enter]
6. Type "ruby script/server" [enter]
7. Open your browser, and type "localhost:3000" [enter] in the address bar
What do you see in your browser, and what in your console?
Bookmarks