[p4ruby] Gem install not working on Windows XP?

Hartin, Brian Brian.Hartin at pearson.com
Tue Mar 30 08:18:17 PDT 2010


Tony,

I think there's a problem with the p4ruby gem.  I received a rake error
after the download, so I ran 'rake --trace' from the gem directory so
you could see the output:

C:\>gem install p4ruby
Building native extensions.  This could take a while...
ERROR:  Error installing p4ruby:
        ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=c:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9/lib
RUBYLIBDIR=c:/r
uby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9/lib
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1934:in
`raw_load_rakefile
'
(See full trace by running task with --trace)


Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9 f
or inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9/gem_make.out

C:\>cd C:\ruby\lib\ruby\gems\1.8\gems\p4ruby-1.0.9

C:\ruby\lib\ruby\gems\1.8\gems\p4ruby-1.0.9>rake --trace
(in C:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9)
** Invoke default (first_time)
** Execute default
downloading ftp://ftp.perforce.com/perforce/r09.3/bin.ntx86/p4ruby18.exe
...
rake aborted!
550 perforce/r09.3/bin.ntx86/p4ruby18.exe: No such file or directory
c:/ruby/lib/ruby/1.8/net/ftp.rb:243:in `getresp'
c:/ruby/lib/ruby/1.8/net/ftp.rb:264:in `sendcmd'
c:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize'
c:/ruby/lib/ruby/1.8/net/ftp.rb:262:in `sendcmd'
c:/ruby/lib/ruby/1.8/net/ftp.rb:324:in `transfercmd'
c:/ruby/lib/ruby/1.8/net/ftp.rb:401:in `retrbinary'
c:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize'
c:/ruby/lib/ruby/1.8/net/ftp.rb:399:in `retrbinary'
c:/ruby/lib/ruby/1.8/net/ftp.rb:501:in `getbinaryfile'
./install.rb:264:in `fetch_spec'
./install.rb:383:in `windows_install'
./install.rb:102:in `run'
./install.rb:13:in `main'
./install.rb:478
C:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9/rakefile:10:in `load'
C:/ruby/lib/ruby/gems/1.8/gems/p4ruby-1.0.9/rakefile:10
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
`top_level'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exceptio
n_handling'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
c:/ruby/bin/rake:19:in `load'
c:/ruby/bin/rake:19

C:\ruby\lib\ruby\gems\1.8\gems\p4ruby-1.0.9>

Thanks,

Brian Hartin




More information about the p4ruby mailing list