| Message: 102231 |
 |
BY: Praveen Devarao (praveend) DATE: 2012-11-13 16:37 SUBJECT: RE: IBM iSeries DB2 connection Hi Remi,
I missed one thing in your posts. In the irb console you have issued gem 'ibm_db and not require 'mswin32/ibm_db' The gem command would pass through as ibm_db gem is installed.
Coming back to your problem, issue the following command in your console where you run your rails app
C:\> set PATH=C:\Program Files\IBM\SQLLIB\BIN;%PATH%
here %PATH% gives you the previous values set in the PATH environment variable. If you know linux, then this is similar to $PATH on linux.
Once the above setting is done, in irb console try requiring mswin32/ibm_db and let me know how it goes. If this passes returning true you are ready to go ahead with your rails app.
If this is still not working, issue the following command and let me know what output you see.
C:\>echo %PATH%
Thanks
Praveen | |