Problems installing ruby

C

Clem Rock

Hello,

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

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/

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

x1

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top