<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using mod_rails with Rails applications on Oracle</title>
	<atom:link href="http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/</link>
	<description>About Ruby, Oracle, Mac and others</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:18:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Rengenx</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-1151</link>
		<dc:creator>Rengenx</dc:creator>
		<pubDate>Sat, 13 Mar 2010 14:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-1151</guid>
		<description>Потыкаю по рекламке в качестве благодарности за статью!</description>
		<content:encoded><![CDATA[<p>Потыкаю по рекламке в качестве благодарности за статью!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Smylie</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-827</link>
		<dc:creator>Dave Smylie</dc:creator>
		<pubDate>Fri, 18 Sep 2009 02:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-827</guid>
		<description>A similar process is needed to get this working with lighttpd or it will complain about not being able to find the oracle oci8 libs. 
I created the script as above, placed in /usr/local/bin/ and made it executable.
To get this loaded by lighttpd, I changed the first line of rails_app/public/dispatch.fcgi from
  #!/usr/bin/ruby1.8 
to
  #!/usr/local/bin/ruby_with_env

I&#039;m not sure if this is the best way to do this, but it wont be needed (for me) in production, and it works, so I&#039;m happy with it.

Dave</description>
		<content:encoded><![CDATA[<p>A similar process is needed to get this working with lighttpd or it will complain about not being able to find the oracle oci8 libs.<br />
I created the script as above, placed in /usr/local/bin/ and made it executable.<br />
To get this loaded by lighttpd, I changed the first line of rails_app/public/dispatch.fcgi from<br />
  #!/usr/bin/ruby1.8<br />
to<br />
  #!/usr/local/bin/ruby_with_env</p>
<p>I&#8217;m not sure if this is the best way to do this, but it wont be needed (for me) in production, and it works, so I&#8217;m happy with it.</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Gillespie</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-479</link>
		<dc:creator>Paul Gillespie</dc:creator>
		<pubDate>Mon, 04 May 2009 10:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-479</guid>
		<description>Thanks for this elegant work around. Works a treat.</description>
		<content:encoded><![CDATA[<p>Thanks for this elegant work around. Works a treat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-406</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Sun, 15 Feb 2009 10:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-406</guid>
		<description>You can set environment variables from Ruby using ENV[...]= only if some other Ruby library is accessing this environment variable.

But if some external library needs this environment variable then you need to set it before you start Ruby (therefore in my case I did this workaround with wrapper script).

In addition I found out other way how to set up additional environment variables for Apache both on Mac OS X and Linux - see http://wiki.github.com/rsim/oracle-enhanced/troubleshooting for details.</description>
		<content:encoded><![CDATA[<p>You can set environment variables from Ruby using ENV[...]= only if some other Ruby library is accessing this environment variable.</p>
<p>But if some external library needs this environment variable then you need to set it before you start Ruby (therefore in my case I did this workaround with wrapper script).</p>
<p>In addition I found out other way how to set up additional environment variables for Apache both on Mac OS X and Linux &#8211; see <a href="http://wiki.github.com/rsim/oracle-enhanced/troubleshooting" rel="nofollow">http://wiki.github.com/rsim/oracle-enhanced/troubleshooting</a> for details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mat</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-405</link>
		<dc:creator>Mat</dc:creator>
		<pubDate>Sun, 15 Feb 2009 00:34:33 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-405</guid>
		<description>We didn&#039;t want to do this as it required a different setup for dev &amp; production. We developed a very simple patch for PaperClip to introduce a parameter to set the MAGICK_HOME environment variable. See http://thoughtbot.lighthouseapp.com/projects/8794-paperclip/tickets/109-phusion-passenger-mod_rails-issue-on-osx for more details.</description>
		<content:encoded><![CDATA[<p>We didn&#8217;t want to do this as it required a different setup for dev &amp; production. We developed a very simple patch for PaperClip to introduce a parameter to set the MAGICK_HOME environment variable. See <a href="http://thoughtbot.lighthouseapp.com/projects/8794-paperclip/tickets/109-phusion-passenger-mod_rails-issue-on-osx" rel="nofollow">http://thoughtbot.lighthouseapp.com/projects/8794-paperclip/tickets/109-phusion-passenger-mod_rails-issue-on-osx</a> for more details.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mr Frosti</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-334</link>
		<dc:creator>Mr Frosti</dc:creator>
		<pubDate>Tue, 16 Sep 2008 22:39:04 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-334</guid>
		<description>You are a life-saver! Thanks</description>
		<content:encoded><![CDATA[<p>You are a life-saver! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds Simanovskis</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-328</link>
		<dc:creator>Raimonds Simanovskis</dc:creator>
		<pubDate>Thu, 04 Sep 2008 08:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-328</guid>
		<description>Actually now you can just gem install latest version of activerecord-oracle_enhanced-adapter and you should not do any patching of session store class - now I have fixed that partial model updates that were introduced in Rails 2.1 work correctly with oracle_enhanced adapter.</description>
		<content:encoded><![CDATA[<p>Actually now you can just gem install latest version of activerecord-oracle_enhanced-adapter and you should not do any patching of session store class &#8211; now I have fixed that partial model updates that were introduced in Rails 2.1 work correctly with oracle_enhanced adapter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Gebhardt</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-327</link>
		<dc:creator>Larry Gebhardt</dc:creator>
		<pubDate>Wed, 03 Sep 2008 17:00:23 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-327</guid>
		<description>Guilherme, make sure you restart the server after making this change to turn partial updates off.

Also, I had to add this to the end of the environment.rb file.</description>
		<content:encoded><![CDATA[<p>Guilherme, make sure you restart the server after making this change to turn partial updates off.</p>
<p>Also, I had to add this to the end of the environment.rb file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guilherme</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-305</link>
		<dc:creator>Guilherme</dc:creator>
		<pubDate>Tue, 22 Jul 2008 17:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-305</guid>
		<description>I&#039;ve put 
CGI::Session::ActiveRecordStore::Session.partial_updates = false
on environment.rb but I still get ORA-22920</description>
		<content:encoded><![CDATA[<p>I&#8217;ve put<br />
CGI::Session::ActiveRecordStore::Session.partial_updates = false<br />
on environment.rb but I still get ORA-22920</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ebei</title>
		<link>http://blog.rayapps.com/2008/05/21/using-mod_rails-with-rails-applications-on-oracle/#comment-265</link>
		<dc:creator>ebei</dc:creator>
		<pubDate>Tue, 17 Jun 2008 13:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://rayapps.wordpress.com/?p=28#comment-265</guid>
		<description>Rails 2.1 + ActiveRecordStore = crash
ORA-22920: row containing the LOB value is not locked

with partial updates turned off it seems to work fine

CGI::Session::ActiveRecordStore::Session.partial_updates = false</description>
		<content:encoded><![CDATA[<p>Rails 2.1 + ActiveRecordStore = crash<br />
ORA-22920: row containing the LOB value is not locked</p>
<p>with partial updates turned off it seems to work fine</p>
<p>CGI::Session::ActiveRecordStore::Session.partial_updates = false</p>
]]></content:encoded>
	</item>
</channel>
</rss>
