Giter Club home page Giter Club logo

Comments (3)

topofocus avatar topofocus commented on August 16, 2024

Please use bin/console to experiment with ib-api.
The code is worth looking, too.
In the ib-example resp. you find a bunch of examples how to use the program.

btw. the behavior of irb is quite normal. You require a file and get a response, if the require was successful or not. A second

require 'ib-api'

should return «false» or nil, because the file is already required.

A last word: please use ruby 3.0 if possible.

from ib-api.

pareeohnos avatar pareeohnos commented on August 16, 2024

How can I use bin/console when I'm including this in a different project? I haven't pulled this lib directly, it's a dependency. I'll have a look through it though and see if there's anything different there.

Sorry I just realised the code snippet I posted doesn't include the main terminal prompt after it. The issue I'm having is not it returning true - I know that's the normal behaviour for require. What's happening, is I'm immediately kicked out of rib and return to my main terminal

Screenshot 2021-08-15 at 08 20 58

I'm just installing ruby 3 now and will test if there's any change there

from ib-api.

pareeohnos avatar pareeohnos commented on August 16, 2024

Appears to work just fine on ruby 3.0.2

from ib-api.

Related Issues (8)

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.