Ivan Wang
2013-Jun-21 08:56 UTC
[HELP] Error cannot load (or bundle) ''pg'' gem on local windows 7 Ruby on Rails
I posted a question on SO, but no one answered so far. http://stackoverflow.com/questions/17221522/error-cannot-load-pg-gem-on-local-windows-7-ruby-on-rails I just started to learn ruby on rails. I have pg gem installed. And ''pg'' is in both gemfile.lock and gemfile. However, it keep getting error, "gem is not loaded, Add gem ''pg'' to your Gemfile." I also have tried follow someone''s advice, delete the gemfile.lock and re-bundle. same error came out. Please look at the link above for details. Thanks in advanced. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7448b1412d921e79af351f124857b3a9%40ruby-forum.com. For more options, visit https://groups.google.com/groups/opt_out.
Ivan Wang
2013-Jun-21 08:59 UTC
[HELP] Error cannot load (or bundle) ''pg'' gem on local windows 7 Ruby on Rails
I posted a question on SO, but no one answered so far.http://stackoverflow.com/questions/17221522/error-cannot-load-pg-gem-on-local-windows-7-ruby-on-rails I just started to learn ruby on rails. I have pg gem installed. And ''pg'' is in both gemfile.lock and gemfile. However, it keep getting error, "gem is not loaded, Add gem ''pg'' to your Gemfile." I also have tried follow someone''s advice, delete the gemfile.lock and re-bundle. same error came out. Please look at the link above for details. Thanks in advanced. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/511b581f-2256-4e6b-b484-f4db1c726853%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Jun-21 14:53 UTC
Re: [HELP] Error cannot load (or bundle) ''pg'' gem on local windows 7 Ruby on Rails
On 21 June 2013 09:59, Ivan Wang <ivawzh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I posted a question on SO, but no one answered so far. > http://stackoverflow.com/questions/17221522/error-cannot-load-pg-gem-on-local-windows-7-ruby-on-rails > > I just started to learn ruby on rails. I have pg gem installed. And ''pg'' > is in both gemfile.lock and gemfile. However, it keep > getting error, "gem is not loaded, Add gem ''pg'' to your Gemfile."Why have you posted this again? The reason there have been no replies is probably because so few people use Windows for Rails development, so no-one is able to help. If you switch to Linux (Ubuntu for example) or Mac then you will have fewer problems in the first place and will be much more likely to find help when you do have a problem. Colin> > I also have tried follow someone''s advice, delete the gemfile.lock and > re-bundle. same error came out. > > Please look at the link above for details. > > Thanks in advanced. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/511b581f-2256-4e6b-b484-f4db1c726853%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLsEh2N8gg9SJyRWBWw9W21pGCGxaidFBsaOefeqiSPcNQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Aguardientico
2013-Jun-22 17:40 UTC
Re: [HELP] Error cannot load (or bundle) ''pg'' gem on local windows 7 Ruby on Rails
Your gem list shows: pg (0.15.1 x64-mingw32) But your Gemfile.lock shows PLATFORMS x86-mingw32 I think your issue is related to a mixed platform (32bits(x86) vs 64bits(x64)) Try to investigate that. El viernes, 21 de junio de 2013 03:59:31 UTC-5, Ivan Wang escribió:> I posted a question on SO, but no one answered so far.http://stackoverflow.com/questions/17221522/error-cannot-load-pg-gem-on-local-windows-7-ruby-on-rails > > I just started to learn ruby on rails. I have pg gem installed. And ''pg'' > is in both gemfile.lock and gemfile. However, it keep > getting error, "gem is not loaded, Add gem ''pg'' to your Gemfile." > > I also have tried follow someone''s advice, delete the gemfile.lock and > re-bundle. same error came out. > > Please look at the link above for details. > > Thanks in advanced. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/03a474a5-6dc2-4546-853d-1310b1b27985%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.