siman-man / typogen

simple english typo generator
MIT License
4 stars 0 forks source link

Not working on debian sid #3

Open y0va opened 6 years ago

y0va commented 6 years ago
 $ sudo gem install typogen
Fetching: typogen-0.2.1.gem (100%)
Successfully installed typogen-0.2.1
Parsing documentation for typogen-0.2.1
Installing ri documentation for typogen-0.2.1
Done installing documentation for typogen after 0 seconds
1 gem installed
 $ typogen
Traceback (most recent call last):
    5: from /usr/local/bin/typogen:23:in `<main>'
    4: from /usr/local/bin/typogen:23:in `load'
    3: from /var/lib/gems/2.5.0/gems/typogen-0.2.1/exe/typogen:20:in `<top (required)>'
    2: from /var/lib/gems/2.5.0/gems/typogen-0.2.1/lib/typogen/cli.rb:4:in `run'
    1: from /var/lib/gems/2.5.0/gems/typogen-0.2.1/lib/typogen/typo.rb:9:in `create'
/var/lib/gems/2.5.0/gems/typogen-0.2.1/lib/typogen/skip_letter.rb:4:in `create': undefined method `size' for nil:NilClass (NoMethodError)
$ ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
siman-man commented 6 years ago

Thanks report!

typogen don't supported no command arguments pattern. (until 0.2.1) but, I fixed this issue! (from 0.2.2)

now, is shown help messages.

$ typogen
Usage: typogen [options] word
    -v, --version                    display the typogen version.