Hi there, It has been a while i did not use rails. I have upgraded to rails 2.2.2 and I tried to run my application, i got this error !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. I have mysql, and I used to run rails applications normally on 2.1.0, I googled the error and I installed some libraries based on some forums. However, the problem exists. Any idea please??? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Sat, Jan 31, 2009 at 4:38 AM, Shuaib85 <shuaib.zahda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> It has been a while i did not use rails. I have upgraded to rails > 2.2.2 and I tried to run my application, i got this error > > !!! The bundled mysql.rb driver has been removed from Rails 2.2. > Please install the mysql gem and try again: gem install mysql. > > I have mysql, and I used to run rails applications normally on 2.1.0, > I googled the error and I installed some libraries based on some > forums. However, the problem exists. Any idea please???What''s ambiguous about `gem install mysql` ? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
What''s ambiguous is the fact that `gem install mysql` doesn''t solve the problem. :| I''ve run into this as well and the only solutions appear to be for Windows, or require using the JRuby interpreter. Source: http://forums.aptana.com/viewtopic.php?f=20&t=7563 I''m still trying to figure out a way around this as well. I''ve attached the output of the attempted gem install. Each time, the Rake tasks (or whatever) fail with the same "!!! 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" Thanks! Attachments: http://www.ruby-forum.com/attachment/4474/gemOut.txt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
*** LOCAL GEMS *** actionmailer (2.3.5) actionpack (2.3.5) activerecord (2.3.5) activeresource (2.3.5) activesupport (2.3.5) mysql (2.8.1) rack (1.0.1) rails (2.3.5) rake (0.8.7) I''ve attached the full-on trace output of the rake command for fun, too. thanks. -nate> ---- > seems that the mysql gem installed just fine. > > not that this will solve your problem but what is output of... > > gem list --local > > ? > > CraigAttachments: http://www.ruby-forum.com/attachment/4480/rakeOut.txt -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Feb 12, 2010 at 11:08 AM, Na Li <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> *** LOCAL GEMS *** > > actionmailer (2.3.5) > actionpack (2.3.5) > activerecord (2.3.5) > activeresource (2.3.5) > activesupport (2.3.5) > mysql (2.8.1) > rack (1.0.1) > rails (2.3.5) > rake (0.8.7)Do you see Rails 2.2.2 components there? Me neither :-) So there''s apparently a discrepancy somewhere between your PATH and the gem environment(s). Try checking the output of the following: which rails which gem gem env -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi all, I am experiencing a similar problem with Ubuntu. I managed to install everything as well, but I can''t run any of the apps: rails, rake. I did check if everything was installed and I can see that it was, but I am unable to run the commands. When I do ruby -S rails, I get the following error: ruby: No such file or directory -- rails (LoadError) Where can I find the rails utility? Someone mentioned JRuby. It is funny that I managed to get it to work with JRuby. It all works fine, but can''t seem to get it to work with ruby 1.8.7. Has anyone managed to find out what it is wrong with rails and ubuntu? Regards, Fidel. On Fri, Feb 12, 2010 at 7:08 PM, Na Li <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> *** LOCAL GEMS *** > > actionmailer (2.3.5) > actionpack (2.3.5) > activerecord (2.3.5) > activeresource (2.3.5) > activesupport (2.3.5) > mysql (2.8.1) > rack (1.0.1) > rails (2.3.5) > rake (0.8.7) > > I''ve attached the full-on trace output of the rake command for fun, too. > > thanks. > > -nate > > > ---- > > seems that the mysql gem installed just fine. > > > > not that this will solve your problem but what is output of... > > > > gem list --local > > > > ? > > > > Craig > > > Attachments: > http://www.ruby-forum.com/attachment/4480/rakeOut.txt > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Feb 12, 2010 at 7:14 PM, Hassan Schroeder < hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, Feb 12, 2010 at 11:08 AM, Na Li <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > *** LOCAL GEMS *** > > > > actionmailer (2.3.5) > > actionpack (2.3.5) > > activerecord (2.3.5) > > activeresource (2.3.5) > > activesupport (2.3.5) > > mysql (2.8.1) > > rack (1.0.1) > > rails (2.3.5) > > rake (0.8.7) > > Do you see Rails 2.2.2 components there? Me neither :-) > > So there''s apparently a discrepancy somewhere between your > PATH and the gem environment(s). Try checking the output of > the following: > > which rails > which gem > gem env > > -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > twitter: @hassan > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > Hi Hassan,Since I am experiencing the same problem, I tried to find out and I can''t seem to find the path for rails. Nothing shows up. I get gem and env, but not rails or rake. When I had rails 2.3.4 installed, everything worked fine. After the repository ugpraded to 2.3.5, it all stopped working. I have tested it in Ubuntu 8.04 up to Ubuntu 9.10 and it all seems to be showing the same problem. I tried to install rails 3 as well, and I am getting the same problem. Can''t really figure out why. I have installed everything using gem. haven''t really tried to install rails using aptitude. Will give it a try and then try to upgrade. Regards, Fidel. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I got as far as I did but uninstalling everything, manually cleaning out my usr/lib dirs for anything ruby, and then following the ubuntu walkthrough: https://help.ubuntu.com/community/RubyOnRails Think I''ve installed everything three times now. There are many issues if you end up installing some stuff as a user and others as root, so watch for that. Make sure all your gem installs are with sudo. -nate -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.