# RadRails on Windows XP

**URL:** <https://www.ruby-forum.com/t/radrails-on-windows-xp/68137>\
**Category:** Rails\
**Created:** [September 9, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137 "2006-09-09T18:32:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 6:32pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/1 "2006-09-09T18:32:37Z")

</div>

I’m having trouble setting up RadRails. For one thing, I can’t get it  
to show any files in a Rails project I started before installing RR. I  
decided to start another project just for the purpose of experimenting  
with RR. I’m having trouble setting the preferences.

For Window:Preferences:Gems:Rails, I set  
C:\ruby\lib\ruby\gems\1.8\gems\rails-1.1.6. There’s also a  
C:\ruby\lib\ruby\gems\1.8\gems\rails-1.1.2, but I chose the one with  
the highest number. For Window:Preferences:Gems:Rake, I set  
C:\ruby\lib\ruby\gems\1.8\gems\rake-0.7.1.

I think the problem I’m having is finding the Ruby intrepreter.  
Examples on the net use the Unix usr/bin/ruby, which doesn’t help me.  
RR won’t take the nearest equivalent, C:\ruby. I’ve tried both  
C:\ruby\bin\ruby.exe and C:\ruby\bin\irb.bat. I know the last is a  
batch file, but it was the only irb I could find to point to.

When I try to start a Webrick server with RR, it never actually starts.  
I’m assuming that’s because I haven’t actually pointed RR to a Ruby  
interpreter, but I don’t know what the heck to point it to.

Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/2 "2006-09-09T18:38:38Z")

</div>

After posting, I found a post on this group that had the ruby  
intrepreter on Windows as C:\ruby\bin\rubyw.exe. I set RR to point to  
this and tried to start a Webrick server. Here’s the error message I  
got from the Console tab:

-e:4:in `load’: no such file to load – script/server (LoadError)  
from -e:4

---

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/3 "2006-09-09T18:39:17Z")

</div>

Try

C:\ruby\bin\rubyw.exe

It is the same as ruby.exe but doesn’t open up a command window when  
invoked.

That’s what I have for mine and it works fine.

Wes

---

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 6:40pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/4 "2006-09-09T18:40:40Z")

</div>

Make sure you have a Rails project selected when you try to start your  
Webrick server.

---

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 8:00pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/5 "2006-09-09T20:00:48Z")

</div>

I just tried again to create a new Rails project after setting  
rubyw.exe as my Ruby interpreter. The problem I’m having now is in  
importing work I’ve already done from the pre-RadRails project.

I keep getting error messages and the import fails. I really just want  
to work on the pre-RR project in RR.

---

<div class="post-metadata">

**Author:** ![studiobl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/2bfe46/32.png) [@studiobl](https://www.ruby-forum.com/u/studiobl)\
**Post date:** [September 9, 2006, 8:20pm UTC](https://www.ruby-forum.com/t/radrails-on-windows-xp/68137/6 "2006-09-09T20:20:50Z")

</div>

Just figured it out–I had to delete a previous project file.
