<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to connect Rails to DB2</title>
	<atom:link href="http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/feed/" rel="self" type="application/rss+xml" />
	<link>http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/</link>
	<description>Agile development using Ruby on Rails for enterprises large and small</description>
	<lastBuildDate>Tue, 17 Aug 2010 17:26:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christos Kalantzis</title>
		<link>http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/comment-page-1/#comment-17</link>
		<dc:creator>Christos Kalantzis</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/#comment-17</guid>
		<description>&quot;Linux/Unix users will need to set the environment with the command:

source /home/db2inst1/sqllib/db2profile&quot;

If I follow that logic, this means that the Ruby application server needs either DB2 to run localy, or have at least the DB2 Runtime installs and an instance created.

Is there a way to use this driver on an server that has no DB2 code on it (except for the driver) and connect to a remote database server?

Thanks in advance,

Christos Kalantzis
Senior Database Administrator, System Administrator
Intertrade Systems Inc.
(450)786-8929
christos.kalantzis@intertrade.com</description>
		<content:encoded><![CDATA[<p>&#8220;Linux/Unix users will need to set the environment with the command:</p>
<p>source /home/db2inst1/sqllib/db2profile&#8221;</p>
<p>If I follow that logic, this means that the Ruby application server needs either DB2 to run localy, or have at least the DB2 Runtime installs and an instance created.</p>
<p>Is there a way to use this driver on an server that has no DB2 code on it (except for the driver) and connect to a remote database server?</p>
<p>Thanks in advance,</p>
<p>Christos Kalantzis<br />
Senior Database Administrator, System Administrator<br />
Intertrade Systems Inc.<br />
(450)786-8929<br />
<a href="mailto:christos.kalantzis@intertrade.com">christos.kalantzis@intertrade.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Pitigoi</title>
		<link>http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/comment-page-1/#comment-18</link>
		<dc:creator>Alex Pitigoi</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://db2onrails.com/2006/06/22/how-to-connect-rails-to-db2/#comment-18</guid>
		<description>Christos, you are correct in your understanding. At current time, the DB2 Rails Adapter (ibm_db2_adapter.rb) has a direct dependency on the DB2 Ruby driver (ibm_db2) which in turn has a similar direct dependency on the DB2 CLI driver. In DB2 version 8.x this dependency implies at least *DB2 Run-Time Client Lite* install (see *DB2 v8.x* Info Center &quot;documentation&quot;:http://publib.boulder.ibm.com/infocenter/db2luw/v8/topic/com.ibm.db2.udb.doc/start/c0011426.htm).

In &quot;version 9.x&quot;:http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cli.doc/doc/c0023378.htm, the *DB2 Driver for ODBC and CLI*  is &quot;available separately, installed separately, and supports a subset of the functionality of the DB2 clients&quot;, therefore there&#039;s a way to limit DB2 Rails Adapter dependencies only to Ruby and CLI drivers (_some_ _restrictions_ _apply_, please consult &quot;documentation&quot;:http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cli.doc/doc/r0024160.htm). Regards, Alex.</description>
		<content:encoded><![CDATA[<p>Christos, you are correct in your understanding. At current time, the DB2 Rails Adapter (ibm_db2_adapter.rb) has a direct dependency on the DB2 Ruby driver (ibm_db2) which in turn has a similar direct dependency on the DB2 CLI driver. In DB2 version 8.x this dependency implies at least *DB2 Run-Time Client Lite* install (see *DB2 v8.x* Info Center &#8220;documentation&#8221;:http://publib.boulder.ibm.com/infocenter/db2luw/v8/topic/com.ibm.db2.udb.doc/start/c0011426.htm).</p>
<p>In &#8220;version 9.x&#8221;:http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cli.doc/doc/c0023378.htm, the *DB2 Driver for ODBC and CLI*  is &#8220;available separately, installed separately, and supports a subset of the functionality of the DB2 clients&#8221;, therefore there&#8217;s a way to limit DB2 Rails Adapter dependencies only to Ruby and CLI drivers (_some_ _restrictions_ _apply_, please consult &#8220;documentation&#8221;:http://publib.boulder.ibm.com/infocenter/db2luw/v9/topic/com.ibm.db2.udb.apdv.cli.doc/doc/r0024160.htm). Regards, Alex.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
