Can`t connect to MySQL Database with Netbeans 6 for RoR?

When i need to install the fastthread dependeny why the heck do i
have the choice to install the dependency or not? whatever i choose i
get an error but thats … no word for this!

When i need to install the fastthread dependeny why the heck do i
have the choice to install the dependency or not? whatever i choose i
get an error but thats … no word for this!

sorry i dont know why some answers come twice this is not my intention!

sorry i dont know why some answers come twice this is not my intention!

Netbeans lets you choose to use JRuby or your local Ruby executable.
I’ve no experience of using JRuby and always tell it to use the local
one. If you are using JRuby inside Netbeans you’ll need to install
your gems and stuff there.

  1. Install Ruby using the Windows installer - it will set up your path
    and so on.
  2. The gem install installs the Ruby drivers for MySQL. It does
    nothing else.
  3. Download the Windows installer for MySQL and run that. It will set
    up the windows service, edit your path and everything else.
  4. I never bothered with Instant Rails - get Ruby installed from the
    Windows installer and then gems etc. then get rails. It’s all on
    google.
  5. How are you installing fast thread? Are you doing it from inside a
    DOS window, where ruby and gems has been installed? If you’re using
    the JRuby inside Netbeans then I’ve no idea what you need to do but
    you probably need to go to the bin directory in a DOS window and run
    the command from there, or put that bin directory in your path.
  6. Tell netbeans to use the native Ruby or you’ll have to install the
    gems twice, once for jruby and once for your normal ruby.

HTH

One moment…

I see the image with trhe given error.

I think that for Windows you must install Win32 versions not ruby
versions.

If you try to install mongrel o fastthread ruby version the installer
try to compile native extensions for Linux…

So try to install mongrel and fastthread Win32 versions…

When i need to install the fastthread dependeny why the heck do i
have the choice to install the dependency or not? whatever i choose i
get an error but thats … no word for this!


Gianluca T.
TreNetMediaMaster S.r.l.
The Internet Technology Company
Telefono +39(049)776196
Fax +39(049)8087806
Visit us @: http://www.trenet.it - http://www.mediamaster.it
e-mail me @: [email protected]

Le informazioni trasmesse sono destinate esclusivamente alla persona o
alla società in indirizzo e sono da intendersi confidenziali e riservate.
Ogni trasmissione, inoltro, diffusione o altro uso di queste
informazioni a persone o società differenti dal destinatario é proibita.
Se ricevete questa comunicazione per errore, contattate il mittente e
cancellate le informazioni da ogni computer.

Is it possible to update the instantRails installation to the latest
rails and ruby version?

Is it possible to update the instantRails installation to the latest
rails and ruby version?

what the heck is going on with that google shit? i send the msg ONE
time but i refresh right after it about 2 times to see the sent msg ,
but all i see are dupe posts or now 3 times sent messages??? weird…

  1. Tell netbeans to use the native Ruby or you’ll have to install the
    gems twice, once for jruby and once for your normal ruby.

sorry i forgot to tell but my NB is since the first time using Ruby
as interpreter not JRuby as this is for java :wink:

wether i use instant rails or not nothing works so thank you guyz for
yur help but i will wait for Rails 2.0 and the coming xmas hols now i
am exhausted of all that testing etc… feel like a betatester not a
RoR starter…

Pel ha scritto:

am exhausted of all that testing etc… feel like a betatester not a
RoR starter…

I’m sad for your problems.

I never had these kind of problems with NetBeans and Rails/Ruby/JRuby
(maybe a fresh install of Linux can solve your problems ? :wink: )

Merry xmas !!!


Gianluca T.
TreNetMediaMaster S.r.l.
The Internet Technology Company
Telefono +39(049)776196
Fax +39(049)8087806
Visit us @: http://www.trenet.it - http://www.mediamaster.it
e-mail me @: [email protected]

Le informazioni trasmesse sono destinate esclusivamente alla persona o
alla società in indirizzo e sono da intendersi confidenziali e
riservate.
Ogni trasmissione, inoltro, diffusione o altro uso di queste
informazioni a persone o società differenti dal destinatario é proibita.
Se ricevete questa comunicazione per errore, contattate il mittente e
cancellate le informazioni da ogni computer.

I’m sorry. You are beyond help.

I sincerly think you are now trolling. Nobody can be that stupid.
Please,
just use google and you will learn.

I call bullshit on you not knowing it’s posting your message several
times.

On Dec 7, 2007 1:45 AM, Pel [email protected] wrote:


Ryan B.

I’m sad for your problems.

I never had these kind of problems with NetBeans and Rails/Ruby/JRuby
(maybe a fresh install of Linux can solve your problems ? :wink: )

I use windows by the way forgot to mention maybe… :wink:

This is a genuine question. I too am using a windows machine and mysql
is properly installed and all that. I’ve resolved it after like 5 hours
of confusion by simply moving down to the previous version:

In environment.rb in your project change the version from 2.2.2 to 

2.1.0:

RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION

Install the gem:

gem install -v=2.1.0 rails

Rake and it will work!

rake db:migrate

-Aditya Mittal
Stanford University