I have a fairly new (read, reasonably "clean") XP SP2 system that
I''m
attempting to use as a Rails dev environment.
I''ve tried it two ways, 1) with InstantRails and 2) with the Rails
package and doing the install by hand. Both result in a weird set of
''hangs'', so I suspect something fundamental is at work here.
Basically I can start Ruby apps, but they just seem to sit there and
do nothing. Windows Firewall is of course installed, but it is
disabled.
With the InstantRails route I can start the InstantRails manager
utility, and it starts Apache and MySQL. If I follow the instructions I
can connect to my applications (they supply two samples), but nothing
happens after the redirect. If I launch WEBrick from the InstantRails
manager WEBrick starts in a console window, but when I attempt to
connect to localhost:3000 I get no output. If I telnet to ''localhost
3000'' and send ''HEAD / HTTP/1.0\n\n'' I get nothing as
well. Ruby is
executing (I see the process) but is waiting for something.
So I try downloading Ruby, installing it and Gem. Both install
cleanly. When I attempt ''gem install rails'', I see this:
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
The ruby process sits and does nothing for a long time, and it ignores
Control-C signals. It seems to be connecting to something though:
ruby.exe:5640 TCP foo.mycompany.com:1505
unknown18.109.234.205.defenderhosting.com:http ESTABLISHED
Something on my system seems to be making Ruby sick in general. My
other laptop works just fine, so I know the sources I''m using are
working. I want to use Ruby on THIS machine though. :-)
Ideas?
-brian
--
Brian W. Spolarich ~ Manager, Information Services
Advanced Photonix / Picometrix ~ 734-864-5618
bspolarich@picometrix.com
I''m using Windows for now, and I found it''s actually easier to
run a Linux
virtual machine and do my development on that. Here''s a nice howto:
http://wolfb.com/?q=linux-windows-cdrom
-----Original Message-----
From: rails-bounces@lists.rubyonrails.org
[mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Spolarich, Brian
Sent: Monday, June 26, 2006 11:06 AM
To: rails@lists.rubyonrails.org
Subject: [Rails] RoR Install Woes
I have a fairly new (read, reasonably "clean") XP SP2 system that
I''m
attempting to use as a Rails dev environment.
I''ve tried it two ways, 1) with InstantRails and 2) with the Rails
package and doing the install by hand. Both result in a weird set of
''hangs'', so I suspect something fundamental is at work here.
Basically I can start Ruby apps, but they just seem to sit there and
do nothing. Windows Firewall is of course installed, but it is
disabled.
With the InstantRails route I can start the InstantRails manager
utility, and it starts Apache and MySQL. If I follow the instructions I
can connect to my applications (they supply two samples), but nothing
happens after the redirect. If I launch WEBrick from the InstantRails
manager WEBrick starts in a console window, but when I attempt to
connect to localhost:3000 I get no output. If I telnet to ''localhost
3000'' and send ''HEAD / HTTP/1.0\n\n'' I get nothing as
well. Ruby is
executing (I see the process) but is waiting for something.
So I try downloading Ruby, installing it and Gem. Both install
cleanly. When I attempt ''gem install rails'', I see this:
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Updating Gem source index for: http://gems.rubyforge.org
The ruby process sits and does nothing for a long time, and it ignores
Control-C signals. It seems to be connecting to something though:
ruby.exe:5640 TCP foo.mycompany.com:1505
unknown18.109.234.205.defenderhosting.com:http ESTABLISHED
Something on my system seems to be making Ruby sick in general. My
other laptop works just fine, so I know the sources I''m using are
working. I want to use Ruby on THIS machine though. :-)
Ideas?
-brian
--
Brian W. Spolarich ~ Manager, Information Services
Advanced Photonix / Picometrix ~ 734-864-5618
bspolarich@picometrix.com
_______________________________________________
Rails mailing list
Rails@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Daniel, thanks for the suggestion. My sense is that Ruby should be reasonably portable, so I''m willing to spend a little effort trying to resolve this issue without resorting to a VM. -----Original Message----- From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Daniel Higginbotham Sent: Monday, June 26, 2006 5:11 PM To: rails@lists.rubyonrails.org Subject: RE: [Rails] RoR Install Woes I''m using Windows for now, and I found it''s actually easier to run a Linux virtual machine and do my development on that. Here''s a nice howto: http://wolfb.com/?q=linux-windows-cdromruby.exe:5640
> Updating Gem source index for: http://gems.rubyforge.org > > The ruby process sits and does nothing for a long time, and it ignores > Control-C signals. It seems to be connecting to something though: > > ruby.exe:5640 TCP foo.mycompany.com:1505 > unknown18.109.234.205.defenderhosting.com:http ESTABLISHED >It can take a while but this was most likely working until you killed it. -- Posted via http://www.ruby-forum.com/.
rails-bounces@lists.rubyonrails.org <> wrote:> It can take a while but this was most likely working until > you killed it.On my working system this took about two minutes to install. On the non-working system it sat for 15-20 minutes doing nothing. -bws
On 6/26/06, Spolarich, Brian <bspolarich@picometrix.com> wrote:> > rails-bounces@lists.rubyonrails.org <> wrote: > > > It can take a while but this was most likely working until > > you killed it. > > On my working system this took about two minutes to install. On the > non-working system it sat for 15-20 minutes doing nothing.It sure does seem like there is something on your system that is interefering. Try booting up in SAFE mode with Networking and see if it works then (that will prevent most software from runninig on startup). If it works, it won''t solve your problem, but it will confirm the hypothesis that something is interfering. Figuring out what is conflicting could be painful, but the way I would do it would be use msconfig to do a binary search of sorts where you keep disabling things until starts working. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060627/54ab8482/attachment.html