[p4ruby] Gem install not working on Windows XP?

James M. Lawrence quixoticsycophant at gmail.com
Wed Sep 1 18:13:17 PDT 2010


I just noticed my response isn't in the archives, and indeed I've
discovered a few bounce-backs from the perforce mail server.

Regarding the reported problem below, there's a file missing on the
perforce server. This has nothing to do with the gem.

> 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

Like the error says there's no p4ruby18.exe at

ftp://ftp.perforce.com/perforce/r09.3/bin.ntx86

Compare that directory with
ftp://ftp.perforce.com/perforce/r09.1/bin.ntx86/
ftp://ftp.perforce.com/perforce/r09.2/bin.ntx86/
ftp://ftp.perforce.com/perforce/r10.1/bin.ntx86/
etc

On Thu, Apr 1, 2010 at 6:53 AM, Tony Smith <tony at smee.org> wrote:
> Hi Brian,
>
> James Lawrence does the P4Ruby gem. James, any idea?
>
> Tony
>
> Hartin, Brian wrote:
>>
>> 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
>>
>> _______________________________________________
>> p4ruby mailing list
>> p4ruby at perforce.com
>> http://maillist.perforce.com/mailman/listinfo/p4ruby
>>
>> !DSPAM:4bb21687213691492418586!
>>
>>
>




More information about the p4ruby mailing list