Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File::ALT_SEPARATOR nil #2

Closed
andreasronge opened this issue Dec 7, 2009 · 0 comments
Closed

File::ALT_SEPARATOR nil #2

andreasronge opened this issue Dec 7, 2009 · 0 comments

Comments

@andreasronge
Copy link

In the .../1.8/gems/ruby-graphviz-0.9.6/lib/graphviz.rb method escape_path_containing_blanks
line 714
def escape_path_containing_blanks(path)
path.gsub!(File::ALT_SEPARATOR, File::SEPARATOR)
throws an Exception on my machine since File::ALT_SEPARATOR
A simple workaround is:
def escape_path_containing_blanks(path)
path.gsub!(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR

I'm using ubuntu 9.10, JRuby 1.4.0

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant