Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
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


Thread View

Thread Author Date
IBM iSeries DB2 connectionRemi Battaille2012-11-13 09:11
      RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-13 15:05
            RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 15:10
                  RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 15:21
                        RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-13 15:34
                              RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 15:50
                                    RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 16:05
                                          RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-13 16:37
                                                RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 16:47
                                                      RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-13 17:13
                                                            RE: IBM iSeries DB2 connectionRemi Battaille2012-11-13 17:20
                                                                  RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-13 17:35
                                                                        RE: IBM iSeries DB2 connectionRemi Battaille2012-11-14 07:38
                                                                              RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-14 07:48
                                                                              RE: IBM iSeries DB2 connectionRemi Battaille2012-11-14 07:59
                                                                                    RE: IBM iSeries DB2 connectionPraveen Devarao2012-11-14 08:37

Post a followup to this message