Can anyone please tell me how to resolve this error? I just want to use
ptools but can't?? Why doesn't require 'ptools' work?
gem install ptools
Attempting local installation of 'ptools'
Local gem file not found: ptools*.gem
Attempting remote installation of 'ptools'
Successfully installed ptools-1.1.1
Installing RDoc documentation for ptools-1.1.1...
irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'ptools'
LoadError: no such file to load -- win32/file/stat
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ptools-1.1.1/lib/ptools.rb:1
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):2
Can anyone please tell me how to resolve this error? I just want to use
ptools but can't?? Why doesn't require 'ptools' work?
>gem install ptools
Attempting local installation of 'ptools'
Local gem file not found: ptools*.gem
Attempting remote installation of 'ptools'
Successfully installed ptools-1.1.1
Installing RDoc documentation for ptools-1.1.1...
>irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'ptools'
LoadError: no such file to load -- win32/file/stat
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ptools-1.1.1/lib/ptools.rb:1
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):2
Can anyone please tell me how to resolve this error? I just want to use
ptools but can't?? Why doesn't require 'ptools' work?
gem install ptools
Attempting local installation of 'ptools'
Local gem file not found: ptools*.gem
Attempting remote installation of 'ptools'
Successfully installed ptools-1.1.1
Installing RDoc documentation for ptools-1.1.1...
irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'ptools'
LoadError: no such file to load -- win32/file/stat
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ptools-1.1.1/lib/ptools.rb:1
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):2
Hi Chris,
Which kind of OS are you using ? (UNIX like / MS Win / etc. )
I hope you got the idea that the files that you are missing are in MS
Windows OS.
I done
gem install win32-file-stat
and it works now.
Is it odd that win32-file-stat is not included as a dependency for
ptools? After all, it depends on it to work?!
Chris
Alin Popa wrote:
···
Chris Finch wrote:
Can anyone please tell me how to resolve this error? I just want to use
ptools but can't?? Why doesn't require 'ptools' work?
gem install ptools
Attempting local installation of 'ptools'
Local gem file not found: ptools*.gem
Attempting remote installation of 'ptools'
Successfully installed ptools-1.1.1
Installing RDoc documentation for ptools-1.1.1...
irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'ptools'
LoadError: no such file to load -- win32/file/stat
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/ptools-1.1.1/lib/ptools.rb:1
from
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from (irb):2
Hi Chris,
Which kind of OS are you using ? (UNIX like / MS Win / etc. )
I hope you got the idea that the files that you are missing are in MS
Windows OS.