Freddy Andersen wrote:
> I'm guessing in you database.yml file you have this:
> development:
>   adapter: mysql
> 
> So you need todo this:
> 
> # gem install mysql or if mysql is in a none standard area you need to
> point to mysql_config like this:
> # gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/
> mysql_config (or where ever you have mysql installed)
> 
> Show us output from the following:
> 
> gem list
> inside of you application => rake gems

I am also facing the same issue. Unable to install mysql gem on Windows 
Vista. It throws the below error:
!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please 
install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql

The output for the above commands requested by you are:
C:\Users\Admin\Desktop\Aruna\book>gem list

*** LOCAL GEMS ***

actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
addressable (2.0.2)
capistrano (2.1.0)
cgi_multipart_eof_fix (2.5.0)
cmdparse (2.0.2)
data_objects (0.9.11)
dm-core (0.9.10)
extlib (0.9.10)
fxri (0.3.6)
fxruby (1.6.12)
gem_plugin (0.2.3)
highline (1.4.0)
hpricot (0.6)
log4r (1.0.5)
mongrel (1.1.2)
mysql (2.7.3)
needle (1.3.0)
net-sftp (1.1.0)
net-ssh (1.1.2)
rails (2.2.2)
rake (0.8.3)
rubygems-update (1.3.1)
sources (0.0.1)
sqlite3-ruby (1.2.1)
win32-api (1.4.0, 1.0.4)
win32-clipboard (0.4.3)
win32-dir (0.3.2)
win32-eventlog (0.4.6)
win32-file (0.5.4)
win32-file-stat (1.2.7)
win32-process (0.5.3)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.3.0, 0.2.0)
windows-pr (1.0.1, 0.7.2)

C:\Users\Admin\Desktop\Aruna\book>rake gems
(in C:/Users/Admin/Desktop/Aruna/book)

I = Installed
F = Frozen
R = Framework (loaded before rails starts)

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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to