I am attempting to install Ruby/Rails on an Windows XP box. After following these instructions - (http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-windows) including the comments at the bottom about Devkit. I get an error when trying to do a ''gem install sqlite3-ruby''. The reply is ''Could not find a valid gem ''sqlite3-ruby'' <>=0> in any repository.'' Any instructions on what I did wrong would be great. Thanks! -- 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.
Luis Lavena
2010-Nov-11 20:24 UTC
Re: Could not find a valid gem ''xxx'' in any repository
On Nov 11, 5:03 pm, Carl Jenkins <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am attempting to install Ruby/Rails on an Windows XP box. > After following these instructions - > (http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-windows) > including the comments at the bottom about Devkit. > > I get an error when trying to do a ''gem install sqlite3-ruby''. > The reply is ''Could not find a valid gem ''sqlite3-ruby'' <>=0> in any > repository.'' > > Any instructions on what I did wrong would be great. >Most likely you''re behind a proxy and you are not aware of. Please check your browser settings. take note of the HTTP proxy information and then use the --http-proxy option of gem install command. More details in the syntax use "gem help install" Also, you can see if your proxy is not blocking S3/CDN downloads by manually downloading in the browser one gem from rubygems.org: http://rubygems.org/ HTH, -- Luis Lavena -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Carl Jenkins
2010-Nov-11 22:25 UTC
Re: Could not find a valid gem ''xxx'' in any repository
Using a browser I can download gems from http://rubygems.org. Does this mean I should NOT have to use the --http_proxy switch on the command line? Luis Lavena wrote in post #960804:> On Nov 11, 5:03pm, Carl Jenkins <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> > Most likely you''re behind a proxy and you are not aware of. > > Please check your browser settings. take note of the HTTP proxy > information and then use the --http-proxy option of gem install > command. > > More details in the syntax use "gem help install" > > Also, you can see if your proxy is not blocking S3/CDN downloads by > manually downloading in the browser one gem from rubygems.org: > > http://rubygems.org/ > > HTH, > -- > Luis Lavena-- 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.
Luis Lavena
2010-Nov-12 02:03 UTC
Re: Could not find a valid gem ''xxx'' in any repository
On Nov 11, 7:25 pm, Carl Jenkins <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Using a browser I can download gems fromhttp://rubygems.org. > Does this mean I should NOT have to use the --http_proxy switch on the > command line? >No, you *should* use --http-proxy option, please check your browser options about proxy connection and use that information in the --http- proxy option You will end with something like this: gem install xxx --http-proxy=http://user:password@server -- Luis Lavena -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Carl Jenkins
2010-Nov-12 02:10 UTC
Re: Could not find a valid gem ''xxx'' in any repository
> No, you *should* use --http-proxy option, please check your browser > options about proxy connection and use that information in the --http- > proxy option > > You will end with something like this: > > gem install xxx --http-proxy=http://user:password@server > > -- > Luis LavenaI understand now - thanks for your help. It is working like a charm. :) -- 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.