Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ncurses - cannot load such file #7

Closed
lenards opened this issue Aug 22, 2013 · 2 comments
Closed

Missing ncurses - cannot load such file #7

lenards opened this issue Aug 22, 2013 · 2 comments

Comments

@lenards
Copy link

lenards commented Aug 22, 2013

Hi - first off, thanks for the work on this.

I think there is a dependency missing since I don't see an attempt to install the ncurses gem.

I'm running an Ubuntu 13.04 EC2 AMI and I've apt-get installed ruby 1.9.1 along with rubygems. I did a gem install salticid and when I attempt to run the salticid executable I get this load error message:

# salticid -h 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ncurses (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:3:in `<class:Interface>'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:2:in `<class:Salticid>'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/lib/salticid/interface.rb:1:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /var/lib/gems/1.9.1/gems/salticid-0.9.5/bin/salticid:6:in `<top (required)>'
    from /usr/local/bin/salticid:23:in `load'
    from /usr/local/bin/salticid:23:in `<main>'

I'm sure this might be user-error on my part. I don't know if only Ruby 2+ is supported. But I don't see a wiki and there is no mention in the README (also, I don't see a {{.ruby-version}} file in the repo either).

I see a commit that suggests that the ncurses is a requirement again:

d1b8262

Unfortunately, I can't get the ncurses gem to build right now. I'm working on that.

@ghost
Copy link

ghost commented Aug 22, 2013

I use apt-get install ruby-ncurses. If you can figure out a better way, I would love to use it, because OS X users have had some gnarly issues getting ncurses working, but stock ruby curses hangs ubuntu and debian hard for some reason.

@lenards
Copy link
Author

lenards commented Aug 22, 2013

I just installed ruby-ncurses, and it works for me now. Thank you very much.

If I just figured out a better way re OS X, I'll let you know. I moved to a VM when I ran into the issue on my Mac.

@lenards lenards closed this as completed Aug 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant