amcoder/curse_client

Show friendlier error message when specifying an unknown pack name

Closed this issue · 0 comments

Loading project information from curse
/var/lib/gems/1.9.1/gems/curse_client-0.1.2/lib/curse_client/client.rb:34:in `find_by_name': undefined method `[]' for nil:NilClass (NoMethodError)
    from /var/lib/gems/1.9.1/gems/curse_client-0.1.2/lib/curse_client/cli.rb:46:in `install'
    from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /var/lib/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /var/lib/gems/1.9.1/gems/curse_client-0.1.2/exe/curse:5:in `<top (required)>'
    from /usr/local/bin/curse:23:in `load'
    from /usr/local/bin/curse:23:in `<main>'

Note: I am using linux mint 17.3
uname -a:
Linux ALATALLI2000 3.19.0-32-generic #37~14.04.1-Ubuntu SMP Thu Oct 22 09:41:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Edit:
It was just my writing wrong modpack name. please add something to inform about that :)