*Dear all:* I am trying to start rails but it is not getting started. It is giving following error: <-[31mCould not find gem ''mysql112 (~> 0.2.6)'' in any of the gem sources listed in your Gemfile. <-[0m I used following commands for app: *rails new myapp -d mysql *after successfully executing this command I run command* *to* *start rails. * ruby* *script/rails server * but it is showing error: *<-[31mCould not find gem ''mysql112 (~> 0.2.6)'' in any of the gem sources listed in your Gemfile. <-[0m* Please help on this. Thanks in advance. -- Thanks and Regards, Amit -- 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.
Manivannan Sivaprakasam
2011-Jul-28 10:28 UTC
Re: Error while starting Rails. Please help.
Hi amit, Please tell me the gem you gave for mysql in Gemfile. (any versions?) On Thu, Jul 28, 2011 at 2:48 PM, Amit Bobade <amit.srpce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> *Dear all:* > > I am trying to start rails but it is not getting started. It is giving > following error: > > <-[31mCould not find gem ''mysql112 (~> 0.2.6)'' in any of the gem sources > listed in your Gemfile. <-[0m > > I used following commands for app: > > *rails new myapp -d mysql > > *after successfully executing this command I run command* *to* *start > rails. > * > ruby* *script/rails server * > > but it is showing error: *<-[31mCould not find gem ''mysql112 (~> 0.2.6)'' > in any of the gem sources listed in your Gemfile. <-[0m* > > Please help on this. Thanks in advance. > -- > Thanks and Regards, > Amit > > -- > 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. >-- Regards, Manivannan.S -- 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 Manivannan, Thanks for your reply. I was using mysql2 and now I changed it to mysql. Now there is no error, everything is working fine. I am new to ruby, hoping for you help in future. Thanks, -Amit On Thu, Jul 28, 2011 at 3:58 PM, Manivannan Sivaprakasam < manisiva19-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi amit, > Please tell me the gem you gave for mysql in Gemfile. (any > versions?) > > On Thu, Jul 28, 2011 at 2:48 PM, Amit Bobade <amit.srpce-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> *Dear all:* >> >> I am trying to start rails but it is not getting started. It is giving >> following error: >> >> <-[31mCould not find gem ''mysql112 (~> 0.2.6)'' in any of the gem sources >> listed in your Gemfile. <-[0m >> >> I used following commands for app: >> >> *rails new myapp -d mysql >> >> *after successfully executing this command I run command* *to* *start >> rails. >> * >> ruby* *script/rails server * >> >> but it is showing error: *<-[31mCould not find gem ''mysql112 (~> 0.2.6)'' >> in any of the gem sources listed in your Gemfile. <-[0m* >> >> Please help on this. Thanks in advance. >> -- >> Thanks and Regards, >> Amit >> >> -- >> 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. >> > > > > -- > Regards, > Manivannan.S > > -- > 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. >-- Thanks and Regards, Amit -- 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.