Problems installing ruby


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

Then I tried to install the mysql module for ruby and read a forum post
which suggested getting rubygems which I installed from here

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

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/ 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.

Clem C

I suggest looking at this:

do type the “ruby script/server”?

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

2006/11/25, T E [email protected]:

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs