All threads / ibm Iseries AS/400 DB2

Ask A Question

Notifications

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?
What is "without success"? What did you try? Which errors do you see? And more info? OS? Rails/ruby version?
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

thx

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.