Hello! I''ve got same problem! Can''t continue working with Rails! I have OSX 10.5.6. Mysql 5.0.67, Latest Ruby , Rubygems, Rails 2.2.2, and mysl gem 2.7 installed in this way sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql- dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with- mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/ mysql/bin/mysql_config when I do rake db:migrate !! 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 I''ve been googling for 3 days and none of the solutions work for me. I''ve reinstalled mysql ,ruby and rails several times.... got same error. Please help! Thanks beforehand --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Have you ensured whether your mysql services are running Regards, Vimal --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sure, mysql starts at startup, there is a mysql task in Activity Monitor, so mysql works, I can create and drop databases. I guess it''s different problem, something wrong with mysql.rb driver, although mysql 2.7 gem installed successfuly... On Feb 18, 11:17 am, vimal <cool.vimalsm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Have you ensured whether your mysql services are running > > Regards, > Vimal--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try this: http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx On Feb 18, 3:16 am, zaqwery <zaqw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello! > I''ve got same problem! Can''t continue working with Rails! > I have OSX 10.5.6. Mysql 5.0.67, Latest Ruby , Rubygems, Rails 2.2.2, > and mysl gem 2.7 installed in this way > sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql- > dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with- > mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/ > mysql/bin/mysql_config > > when I do rake db:migrate > > !! 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 > > I''ve been googling for 3 days and none of the solutions work for me. > I''ve reinstalled mysql ,ruby and rails several times.... got same > error. Please help! > Thanks beforehand--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have already tried this , the one for Leopard (I have 10.5.6) Today i reinstalled ruby ,rubygems, rails, mysql gem..... it gives me same error all the way!!!! !!! 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 I don''t know what to do... Perhaps formating harddrive to non case- sensitive filesystem, and reinstalling entire system is the last I can do..... I tried many ways.... Didn''t you, guys having Leopard, encounter this problem with mysql.rb???? did you? Windows users have solution fixing this bug with some .dll, why Mac users don''t have it? Who had the same please assist! plsssss On 18 фев, 23:14, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try this: > > http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx > > On Feb 18, 3:16 am, zaqwery <zaqw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello! > > I''ve got same problem! Can''t continue working with Rails! > > I have OSX 10.5.6.Mysql5.0.67, Latest Ruby , Rubygems, Rails 2.2.2, > > and mysl gem 2.7 installed in this way > > sudo env ARCHFLAGS="-arch i386" gem installmysql-- --with-mysql- > > dir=/usr/local/mysql--with-mysql-lib=/usr/local/mysql/lib --with- > >mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/ > >mysql/bin/mysql_config > > > when I do rake db:migrate > > > !! The bundledmysql.rb driver has been removed from Rails 2.2. Please > > install themysqlgem and tryagain: gem installmysql. > > rake aborted! > >nosuchfiletoload--mysql > > > I''ve been googling for 3 days and none of the solutions work for me. > > I''ve reinstalledmysql,ruby and rails several times.... got same > > error. Please help! > > Thanks beforehand--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
UPDATE: I tried to install mysql gem in this way: sudo env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql- dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib --with- mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/ mysql/bin/mysql_config --include-dependencies and the error has gone somehow.... Could "--include-dependencies" make this? On 18 фев, 23:14, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try this: > > http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx > > On Feb 18, 3:16 am, zaqwery <zaqw...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hello! > > I''ve got same problem! Can''t continue working with Rails! > > I have OSX 10.5.6.Mysql5.0.67, Latest Ruby , Rubygems, Rails 2.2.2, > > and mysl gem 2.7 installed in this way > > sudo env ARCHFLAGS="-arch i386" gem installmysql-- --with-mysql- > > dir=/usr/local/mysql--with-mysql-lib=/usr/local/mysql/lib --with- > >mysql-include=/usr/local/mysql/include --with-mysql-config=/usr/local/ > >mysql/bin/mysql_config > > > when I do rake db:migrate > > > !! The bundledmysql.rb driver has been removed from Rails 2.2. Please > > install themysqlgem and tryagain: gem installmysql. > > rake aborted! > >nosuchfiletoload--mysql > > > I''ve been googling for 3 days and none of the solutions work for me. > > I''ve reinstalledmysql,ruby and rails several times.... got same > > error. Please help! > > Thanks beforehand--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---