walle / gimli

Utility for converting markup files to pdf files
https://github.com/walle/gimli
MIT License
538 stars 44 forks source link

gimli not working after gem install #13

Closed wowpatrick closed 13 years ago

wowpatrick commented 13 years ago

Installed ruby via mac ports, installed gem v1.8.5 and then gimli via gem. When I try to run gimli I get following error output:

gimli
/opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.7/bin/../lib/gimli/path.rb:25:in `list_valid': undefined method `keep_if' for #<Array:0x1017c42f8> (NoMethodError)
    from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.7/bin/../lib/gimli.rb:20:in `process!'
    from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.7/bin/gimli:9
    from /opt/local/bin/gimli:19:in `load'
    from /opt/local/bin/gimli:19
walle commented 13 years ago

Are you using ruby 1.8, seems like keep_if isn't in 1.8. I'll release a new version where select is used instead.

Thanks for the report!

walle commented 13 years ago

Version 0.1.8 is released.

wowpatrick commented 13 years ago

Now that was quick! Thanks! Is the gem install already up to date or should I just manually download the latest build from github?

walle commented 13 years ago

You should be able to do a

gem install gimli

and get the latest version.