henrycatalinismith / ppl

The command line address book
http://henry.catalinismith.com/ppl/
Other
300 stars 18 forks source link

undefined method 'call' for nil:NilClass #2

Closed senthilkumarkj closed 11 years ago

senthilkumarkj commented 11 years ago

I faced the following error when trying to install the gem.

sudo gem install ppl Password: ERROR: While executing gem ... (NoMethodError) undefined method 'call' for nil:NilClass

Ruby version: ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] OS: Mac OS X - Mountain Lion

Any suggestions on how to overcome this error and install ppl?

Thanks,

henrycatalinismith commented 11 years ago

Interesting. I can tell you that ppl requires Ruby version >= 1.9.3, so even if this error wasn't happening, you wouldn't get any further because it'd just say something like the following instead:

ERROR: Error installing ppl:
ppl requires Ruby version >= 1.9.3.

According to this other issue I found via Google, running sudo gem update --system might fix the issue.

senthilkumarkj commented 11 years ago

Thanks, that did the trick. :)

henrycatalinismith commented 11 years ago

Glad to hear it!