walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
600 stars 17 forks source link

`require': cannot load such file -- curses (LoadError) #10

Closed walles closed 4 years ago

walles commented 5 years ago

@hund wrote in #5:

Ops. I was trying out several options and it looks like I mixed up moar and most. It was moar that I couldn't use.

$ ./moar-0.9.6.rb /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- curses (LoadError) from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:54:in `require' from ./moar-0.9.6.rb:9:in `\

' Do you want me to create a new issue for it? :)

walles commented 5 years ago

@Hund, can you please try this and see if moar starts working for you afterwards?

gem install curses || sudo gem install curses
Hund commented 5 years ago

@Hund, can you please try this and see if moar starts working for you afterwards?

gem install curses || sudo gem install curses

Installing the gem curses solved the issue for me. Thanks! :)

walles commented 4 years ago

Fixed in 0.9.8: https://github.com/walles/moar/releases/latest