[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problems installing ruby

Clem Rock

11/24/2006 11:56:00 PM

Hello,

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

http://mpcon.org/apacheguid...

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

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

--
Posted via http://www.ruby-....

2 Answers

thedcm

11/25/2006 12:32:00 AM

0

I suggest looking at this: http://rubyforge.org/projects/ins...

Clem Rock wrote:
> Hello,
>
> I followed this tutorial and installed ruby successfully on my windows
> XP machine:
>
> http://mpcon.org/apacheguid...
>
> 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...
>
> 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
>
> --
> Posted via http://www.ruby-....

x1

11/25/2006 1:57:00 AM

0

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


On 11/24/06, ao tianlong <aotianlong@gmail.com> wrote:
> 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
>
>
> 2006/11/25, T E <thedcm@gmail.com>:
> >
> > I suggest looking at this: http://rubyforge.org/projects/ins...
> >
> > Clem Rock wrote:
> > > Hello,
> > >
> > > I followed this tutorial and installed ruby successfully on my windows
> > > XP machine:
> > >
> > > http://mpcon.org/apacheguid...
> > >
> > > 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...
> > >
> > > 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
> > >
> > > --
> > > Posted via http://www.ruby-....
> >
> >
> >
>
>