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

Reply
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)
Reply
I am proposing a new approach to the problem
use js to connect to the db2 database

any suggestion is welcome .... 
Reply

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

thx

Reply
Join the discussion
Create an account Log in

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

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

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