Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Paolo Angelini
RE: Installation problems in windows XP [ reply ]  
2009-04-29 23:41
I was getting the same error with gem 1.3.2
I tracked it down to rake_builder.rb:22 (which was changed from version 1.3.1)
You need to set the environment variable rake to avoid this:
set rake=c:\ruby\bin\rake (or set rake=rake if you have c:\ruby\bin in your $path)


By: Bill Linge
RE: Installation problems in windows XP [ reply ]  
2009-04-28 15:42
I have seen the exact same problem. I also received the same verbiage when attempting a gem update for ruby-opengl. I made the mistake of uninstalling and trying to reinstall and now can iC:\Ruby>gem install -r libxml-ruby
Building native extensions. This could take a while...
ERROR: Error installing libxml-ruby:
ERROR: Failed to build gem native extension.

C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake RUBYARCHDIR=C:/Ruby/lib/ruby/
gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib RUBYLIBDIR=C:/Ruby/lib/ruby/g
ems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib
'C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake' is not recognized as an int
ernal or external command,
operable program or batch file.

C:\Ruby>gem install -r ruby-opengl
Building native extensions. This could take a while...
ERROR: Error installing ruby-opengl:
ERROR: Failed to build gem native extension.

C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake RUBYARCHDIR=C:/Ruby/lib/ruby/
gems/1.8/gems/ruby-opengl-0.60.1/lib RUBYLIBDIR=C:/Ruby/lib/ruby/gems/1.8/gems/r
uby-opengl-0.60.1/lib
'C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake' is not recognized as an int
ernal or external command,
operable program or batch file.

By: matt wolfe
RE: Installation problems in windows XP [ reply ]  
2009-04-23 22:29
Also not that I have rake installed and have started a fresh command line and all that. The rake file mentioned exists in the location it is complaining about.

By: matt wolfe
Installation problems in windows XP [ reply ]  
2009-04-23 22:27
I saw the previous messages about errors with windows XP, however my problem appears to be different. I installed libxml-ruby about a month ago without a problem on windows xp by simply typing:
gem install libxml-ruby
Now i went to install it on another windows machine and I got an error:
Building native extensions. This could take a while...
ERROR: Error installing libxml-ruby:
ERROR: Failed to build gem native extension.

c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake RUBYARCHDIR=c:/ruby/lib/ruby/
gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib RUBYLIBDIR=c:/ruby/lib/ruby/g
ems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-60/lib
'c:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.4/bin/rake' is not recognized as an int
ernal or external command,
operable program or batch file.


Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.
1.3-x86-mswin32-60 for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3-x86-mswin32-6
0/ext/mingw/gem_make.out


So then i went and uninstalled it from my machine and sure enough now i'm getting the same error message. I believe there has been a rubygems update in the past week or two but thats the only thing that has been updated. Anyone else having this problem?