net\ftp.rb failing in Ruby 1.9.1

S

Sai Fujinaro

Hi, I'm running on windows, Ruby 1.9.1-p129-i386-mswin32.zip.

Trying to run gem install p4ruby gives an error:
can't convert Pathname into String

Running trace on rake shows that this is coming (among other places)
from ftp.rb:679 and ftp.rb:547. They are still trying to use as
Pathname as an implicit cast to string, but to_str was removed from
Pathname in 1.9.1. They can be fixed by just adding .to_path or .to_s
to those two lines.

Is there a good place to submit this as a bug report?
 
J

Justin Collins

Sai said:
Hi, I'm running on windows, Ruby 1.9.1-p129-i386-mswin32.zip.

Trying to run gem install p4ruby gives an error:
can't convert Pathname into String

Running trace on rake shows that this is coming (among other places)
from ftp.rb:679 and ftp.rb:547. They are still trying to use as
Pathname as an implicit cast to string, but to_str was removed from
Pathname in 1.9.1. They can be fixed by just adding .to_path or .to_s
to those two lines.

Is there a good place to submit this as a bug report?

http://redmine.ruby-lang.org/projects/show/ruby-191

-Justin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,166
Messages
2,570,902
Members
47,442
Latest member
KevinLocki

Latest Threads

Top