# Problems installing ruby

**URL:** <https://www.ruby-forum.com/t/problems-installing-ruby/77195>\
**Category:** Ruby\
**Created:** [November 25, 2006, 12:56am UTC](https://www.ruby-forum.com/t/problems-installing-ruby/77195 "2006-11-25T00:56:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [November 25, 2006, 12:56am UTC](https://www.ruby-forum.com/t/problems-installing-ruby/77195/1 "2006-11-25T00:56:07Z")

</div>

Hello,

I followed this tutorial and installed ruby successfully on my windows  
XP machine:

[http://mpcon.org/apacheguide/ruby.php](http://mpcon.org/apacheguide/ruby.php)

Then I tried to install the mysql module for ruby and read a forum post  
which suggested getting rubygems which I installed from here  
[http://rubyforge.org/projects/rubygems/](http://rubyforge.org/projects/rubygems/)

I then command lined this run “ruby setup.rb”, then run “gem install  
mysql”

Which gave me these 4 options on which mysql packages to install

1. mysql 2.7.1 (mswin32)
2. mysql 2.7 (ruby)
3. mysql 2.6 (ruby)
4. mysql 2.5.1 (ruby)
5. Cancel installation

after I did that, I tried to test my Ruby insallation by going here:  
[http://localhost:3000/](http://localhost:3000/) and suddenly I get a refused connection.

I’m not sure of any other way I could test if the installation went  
wrong or how I could reinstall it (which I’ve already tried once) and it  
now doesn’t work.

Thanks,  
Clem C

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [November 25, 2006, 1:35am UTC](https://www.ruby-forum.com/t/problems-installing-ruby/77195/2 "2006-11-25T01:35:51Z")

</div>

I suggest looking at this: [http://rubyforge.org/projects/instantrails/](http://rubyforge.org/projects/instantrails/)

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [November 25, 2006, 2:51am UTC](https://www.ruby-forum.com/t/problems-installing-ruby/77195/3 "2006-11-25T02:51:58Z")

</div>

do type the “ruby script/server”?

commands  
rails test  
it will generate some basic files for your rails application  
then edit your config/database.yml  
then type ‘ruby script/server’

and ,be sure your mysql server is running…  
finally you can visit [http://localhost:3000](http://localhost:3000)

2006/11/25, T E [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [November 25, 2006, 2:57am UTC](https://www.ruby-forum.com/t/problems-installing-ruby/77195/4 "2006-11-25T02:57:59Z")

</div>

Sounds like you’ve mixed up the ruby installation from rails… or…  
something…

First, make sure rails is installed, type:

gem install rails

then… from a directory (as mentioned above) type:  
rails test\_app  
cd test\_app  
ruby script/server  
iexplore [http://localhost:3000](http://localhost:3000)
