huydx / facy

command line power tool for facebook
MIT License
239 stars 30 forks source link

Facy force quit after get feeds #20

Closed knighthedspi closed 10 years ago

knighthedspi commented 10 years ago

Facy force quit after get feeds. Error log: /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/lib/facy/output.rb:58:in refresh_line': refresh_line() function is unimplemented on this machine (NotImplementedError) from /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/lib/facy/output.rb:58:inclear_line' from /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/lib/facy/output.rb:9:in periodic_output' from /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/lib/facy/core.rb:66:inblock (3 levels) in start' from /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/lib/em/timers.rb:56:in call' from /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/lib/em/timers.rb:56:infire' from /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in call' from /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:inrun_machine' from /Library/Ruby/Gems/2.0.0/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in run' from /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/lib/facy/core.rb:51:instart' from /Library/Ruby/Gems/2.0.0/gems/facy-1.2.9/bin/facy:18:in <top (required)>' from /usr/bin/facy:23:inload' from /usr/bin/facy:23:in `

'

Would you please check this and fix this issue?

huydx commented 10 years ago

It's seem that readline version in your computer not has the refresh line implement., which is the same as https://github.com/jugyo/earthquake/issues/21 So it seem that you need to install the readline library from rvm package, which require you to re-install ruby as well.

rvm package install openssl
rvm package install readline

rvm install 2.1.1 --with-openssl-dir=$HOME/.rvm/usr --with-readline-dir=$HOME/.rvm/usr