M
Mark J. Reed
After installing pathname2 on my Windows box went so well, I decided to
go ahead and install it elsewhere for consistency, and it universally failed.
On the same Windows box under Cygwin, on Linux, on Mac OS X, I got the same
result. The gem installation appeared to succeed but Ruby couldn't find
the newly-installed module file. Any help?
$ sudo gem install pathname2
Password:
Attempting local installation of 'pathname2'
Local gem file not found: pathname2*.gem
Attempting remote installation of 'pathname2'
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency facade? [Yn] y
Successfully installed pathname2-1.1.0
Successfully installed facade-1.0.1
Installing RDoc documentation for pathname2-1.1.0...
Installing RDoc documentation for facade-1.0.1...
$ irb -r pathname2
/usr/lib/ruby/1.8/irb/init.rb:215:in `require': No such file to load -- pathname2 (LoadError)
from /usr/lib/ruby/1.8/irb/init.rb:215:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:213:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:213:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13
$
go ahead and install it elsewhere for consistency, and it universally failed.
On the same Windows box under Cygwin, on Linux, on Mac OS X, I got the same
result. The gem installation appeared to succeed but Ruby couldn't find
the newly-installed module file. Any help?
$ sudo gem install pathname2
Password:
Attempting local installation of 'pathname2'
Local gem file not found: pathname2*.gem
Attempting remote installation of 'pathname2'
Updating Gem source index for: http://gems.rubyforge.org
Install required dependency facade? [Yn] y
Successfully installed pathname2-1.1.0
Successfully installed facade-1.0.1
Installing RDoc documentation for pathname2-1.1.0...
Installing RDoc documentation for facade-1.0.1...
$ irb -r pathname2
/usr/lib/ruby/1.8/irb/init.rb:215:in `require': No such file to load -- pathname2 (LoadError)
from /usr/lib/ruby/1.8/irb/init.rb:215:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:213:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:213:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/bin/irb:13
$