« Return to Thread: problems booting webrick

Re: problems booting webrick

by agunos :: Rate this Message:

Reply to Author | View in Thread

wow. i feel like a moron. thanks.

Erno Mononen wrote:
Hi,

It seems that you have specified 'mysqlmy' as the database adapter to
use in database.yml. Note the extra 'my' in the name, changing it to
'mysql' should help.

Erno

agunos wrote:
> okay, i've been googling for over an hour to find an answer for this. just
> trying to run a project and this is what i get:
>
> => Booting WEBrick...
> /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:231:in
> `establish_connection': Please install the mysqlmy adapter: `gem install
> activerecord-mysqlmy-adapter` (no such file to load --
> active_record/connection_adapters/mysqlmy_adapter) (RuntimeError)
>         from
> /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:215:in
> `establish_connection'
>         from
> /var/lib/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:208:in
> `establish_connection'
>         from /var/lib/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:234:in
> `initialize_database'
>         from /var/lib/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:94:in
> `process'
>         from /var/lib/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
> `send'
>         from /var/lib/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in
> `run'
>         from /home/ed/NetBeansProjects/rails_space/config/environment.rb:13
>         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>          ... 10 levels...
>         from /var/lib/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39
>         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
>         from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
>         from script/server:3
>
> anyone have any ideas?
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org

 « Return to Thread: problems booting webrick