Ask A Question


You’re not receiving notifications from this thread.

ibm Iseries AS/400 DB2

Manuel Martinez asked in Databases
I'm trying to connect using some of the gems:
sequel, dbi, ibm_db, jdbc-as400-adapter

Without success, does anyone have the same problem?
using the gem ibm_db, I can not verify that everything is configured correctly.
using mac ox , ubuntu 16.04,  rails 5.2.0 , ruby 2.5 

ruby-2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:62:in `load': /Users/Manux/.rvm/gems/ruby-2.5.0/gems/jdbc-jt400-9.1.1/lib/jt400.jar:1: Invalid char `\x03' in expression (SyntaxError)
I am proposing a new approach to the problem
use js to connect to the db2 database

any suggestion is welcome .... 

in the end we have developed an api in node js to which we call using the gem httparty


Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 84,387+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.