Giter Site home page Giter Site logo

Comments (3)

JEG2 avatar JEG2 commented on July 18, 2024

I just fired up a fresh EC2 instance to check this out and it seems to be working fine for me.

jruby-1.4.0/bin/jruby -I highline/lib/ -rubygems -e 'require "highline"; p :loaded'

*** Using highline effectively in JRuby requires manually installing the ffi-ncurses gem.
*** jruby -S gem install ffi-ncurses
:loaded

jruby-1.4.0/bin/jruby -S gem install ffi-ncursesJRuby limited openssl loaded. gem install jruby-openssl for full support.

http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL
Successfully installed ffi-ncurses-0.3.2
1 gem installed
Installing ri documentation for ffi-ncurses-0.3.2...
Installing RDoc documentation for ffi-ncurses-0.3.2...

jruby-1.4.0/bin/jruby -I highline/lib/ -rubygems -e 'require "highline"; p :loaded'

:loaded

Note that I did have to require RubyGems, since I installed ffi-ncurses as a gem. That made it possible for HighLine to load it. Perhaps that's what you missed.

from highline.

keshavkuruva avatar keshavkuruva commented on July 18, 2024

Java::JavaLang::ArrayIndexOutOfBoundsException: An error occured while installing highline (1.6.9), and Bundler cannot continue.
Make sure that gem install highline -v '1.6.9' succeeds before bundling.

I am getting this error even though I tried using jruby 1.6.5

from highline.

JEG2 avatar JEG2 commented on July 18, 2024

I'm not really sure what to try there. That's a Java error. I assume it happened as part of the install process. Given that, this is probably a better question for the JRuby team than it is for me. Sorry I can't be of more help.

from highline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.