rubygems for win32 seems to be broken for windows xp users. I have windowsxp pro sp2 + ruby 1.8.2 (all-in-one installer) and rubygems 0.8.11. I cannot install rails: gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Errno::EINVAL) Invalid argument another try: gem install rails --source http://gems.rubyonrails.com --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyonrails.com ERROR: While executing gem ... (Errno::EINVAL) Invalid argument I have even upgraded rubygems to latest svn version but it could not help. The same errors appear. I googled for phrase: "ERROR: While executing gem ... (Errno::EINVAL)" and I could found the same problem share many winxp users but *there is no solution* :( -- JZ
It worked for me. However, the command I issued was: gem install rails I don''t know if the --include-dependencies option is the one broken, but since you can confirm the inclusion of dependencies while installing, why don''t you try that and see if it works? - Ivan V. Jaroslaw Zabiello wrote:> rubygems for win32 seems to be broken for windows xp users. I have > windowsxp pro sp2 + ruby 1.8.2 (all-in-one installer) and rubygems > 0.8.11. I cannot install rails: > > gem install rails --include-dependencies > Attempting local installation of ''rails'' > Local gem file not found: rails*.gem > Attempting remote installation of ''rails'' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Errno::EINVAL) > Invalid argument > > another try: > > gem install rails --source http://gems.rubyonrails.com --include-dependencies > Attempting local installation of ''rails'' > Local gem file not found: rails*.gem > Attempting remote installation of ''rails'' > Updating Gem source index for: http://gems.rubyonrails.com > ERROR: While executing gem ... (Errno::EINVAL) > Invalid argument > > I have even upgraded rubygems to latest svn version but it could not > help. The same errors appear. > > I googled for phrase: "ERROR: While executing gem ... > (Errno::EINVAL)" and I could found the same problem share many winxp > users but *there is no solution* :( > > -- > JZ > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >
I had no problems. Maybe you should try to download the installer again and try reinstalling -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Jaroslaw Zabiello Sent: Monday, October 17, 2005 7:11 PM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] rubygems is broken for winxp? rubygems for win32 seems to be broken for windows xp users. I have windowsxp pro sp2 + ruby 1.8.2 (all-in-one installer) and rubygems 0.8.11. I cannot install rails: gem install rails --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Errno::EINVAL) Invalid argument another try: gem install rails --source http://gems.rubyonrails.com --include-dependencies Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyonrails.com ERROR: While executing gem ... (Errno::EINVAL) Invalid argument I have even upgraded rubygems to latest svn version but it could not help. The same errors appear. I googled for phrase: "ERROR: While executing gem ... (Errno::EINVAL)" and I could found the same problem share many winxp users but *there is no solution* :( -- JZ _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005/10/18, Robi Sen <rsen-eUc2XO7YEjkOH/0RNv2/ag@public.gmane.org>:> I had no problems. Maybe you should try to download the installer again and > try reinstallingNope. It does not help. gem install rails Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Errno::EINVAL) Invalid argument -- JZ
2005/10/18, Robi Sen <rsen-eUc2XO7YEjkOH/0RNv2/ag@public.gmane.org>:> I had no problems. Maybe you should try to download the installer again and > try reinstallingI deleted everything and reinstalled ruby 1.8.2 twice. I checked it with rubygems 0.8.11 and with svn version. There is always the same error. It is strange because in past I could use gem and I installed Rails for the same computer. -- JZ
On 10/17/05, Jaroslaw Zabiello <hipertracker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> rubygems for win32 seems to be broken for windows xp users. I have > windowsxp pro sp2 + ruby 1.8.2 (all-in-one installer) and rubygems > 0.8.11. I cannot install rails: > > gem install rails --include-dependencies > Attempting local installation of ''rails'' > Local gem file not found: rails*.gem > Attempting remote installation of ''rails'' > Updating Gem source index for: http://gems.rubyforge.org > ERROR: While executing gem ... (Errno::EINVAL) > Invalid argument > > another try: > > gem install rails --source http://gems.rubyonrails.com --include-dependencies > Attempting local installation of ''rails'' > Local gem file not found: rails*.gem > Attempting remote installation of ''rails'' > Updating Gem source index for: http://gems.rubyonrails.com > ERROR: While executing gem ... (Errno::EINVAL) > Invalid argument > > I have even upgraded rubygems to latest svn version but it could not > help. The same errors appear. > > I googled for phrase: "ERROR: While executing gem ... > (Errno::EINVAL)" and I could found the same problem share many winxp > users but *there is no solution* :( > > -- > JZ > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >Have you tried to download the gems and install manually? Just to verify it is not a network issue?
I used to have a similar issue with gems myself. However, I uninstalled all my anti-virus/anti-spyware programs and it worked fine. If your using a proxy you should do a "set http_proxy=http://xxxxxxx:8080" before issuing a gem install. Trust me, winXP is screwed but gems work just fine. On 10/22/05, Patrick Hurley <phurley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 10/17/05, Jaroslaw Zabiello <hipertracker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > rubygems for win32 seems to be broken for windows xp users. I have > > windowsxp pro sp2 + ruby 1.8.2 (all-in-one installer) and rubygems > > 0.8.11. I cannot install rails: > > > > gem install rails --include-dependencies > > Attempting local installation of ''rails'' > > Local gem file not found: rails*.gem > > Attempting remote installation of ''rails'' > > Updating Gem source index for: http://gems.rubyforge.org > > ERROR: While executing gem ... (Errno::EINVAL) > > Invalid argument > > > > another try: > > > > gem install rails --source http://gems.rubyonrails.com--include-dependencies > > Attempting local installation of ''rails'' > > Local gem file not found: rails*.gem > > Attempting remote installation of ''rails'' > > Updating Gem source index for: http://gems.rubyonrails.com > > ERROR: While executing gem ... (Errno::EINVAL) > > Invalid argument > > > > I have even upgraded rubygems to latest svn version but it could not > > help. The same errors appear. > > > > I googled for phrase: "ERROR: While executing gem ... > > (Errno::EINVAL)" and I could found the same problem share many winxp > > users but *there is no solution* :( > > > > -- > > JZ > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > Have you tried to download the gems and install manually? Just to > verify it is not a network issue? > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails