Permalink
Browse files

Removed message about installing ffi-ncurses for jruby as jline is bu…

…ilt in into jruby so no extra gem required anymore for jruby
  • Loading branch information...
1 parent a1b82bd commit f4b0f771f169f15052ef7b69c6d444b5d95e222b Thomas Dudziak committed Nov 29, 2011
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/highline/system_extensions.rb
View
9 lib/highline/system_extensions.rb
@@ -96,7 +96,7 @@ def get_character( input = STDIN )
CHARACTER_MODE = "ncurses" # For Debugging purposes only.
#
- # ncurses savvy getc(). (JRuby choice.)
+ # ncurses savvy getc().
#
def get_character( input = STDIN )
FFI::NCurses.initscr
@@ -110,13 +110,6 @@ def get_character( input = STDIN )
end
rescue LoadError => e # If the ffi-ncurses choice fails, try using stty
- if JRUBY
- if e.message =~ /^no such file to load/
- STDERR.puts "\n*** Using highline effectively in JRuby requires manually installing the ffi-ncurses gem.\n*** jruby -S gem install ffi-ncurses"
- else
- raise
- end
- end
CHARACTER_MODE = "stty" # For Debugging purposes only.
#

0 comments on commit f4b0f77

Please sign in to comment.