<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Shane Sveller &#187; deployment</title>
	<atom:link href="http://shanesveller.com/tag/deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://shanesveller.com</link>
	<description>Somewhere between happy and total f**king wreck</description>
	<lastBuildDate>Thu, 07 Jan 2010 18:31:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Redmine and Passenger bugfix</title>
		<link>http://shanesveller.com/2008/08/11/redmine-and-passenger-bugfix/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=redmine-and-passenger-bugfix</link>
		<comments>http://shanesveller.com/2008/08/11/redmine-and-passenger-bugfix/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:15:25 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=77</guid>
		<description><![CDATA[Redmine+Passenger has issues with RedCloth 4.x so use 3.0.4 or the included version instead.]]></description>
			<content:encoded><![CDATA[<p>Source: <a href="http://www.redmine.org/issues/show/1714">Redmine.org</a></p>
<p>For those of you who are running Redmine on Phusion Passenger, if you have certain versions of the <code>RedCloth</code> gem installed, you are in for some trouble.<br />
<span id="more-47"></span><br />
I was getting something along the lines of:</p>
<pre>Error message:
    superclass must be a Class (Module given)
Exception class:
    TypeError
Application root:
    /var/rails/redmine-0.7</pre>
<p>This was on Ubuntu Hardy 8.04.1, with Apache 2.2.8-1, Ruby Enterprise Edition 080704 (I think), and Passenger 2.0.2, with Redmine from SVN-stable r1729.</p>
<p>A simple solution that worked perfectly for me was to remove ALL version of the RedCloth gem, allowing Redmine to use its own included version of RC.</p>
<pre>gem uninstall RedCloth</pre>
<p>One of the responses on that bug thread also indicates that gem version 3.0.4 of RedCloth is the most recent version compatible with Redmine, so you could also try using (only) that version.</p>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/08/11/redmine-and-passenger-bugfix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Passenger and RubyEnt updates</title>
		<link>http://shanesveller.com/2008/08/11/passenger-and-rubyent-updates/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=passenger-and-rubyent-updates</link>
		<comments>http://shanesveller.com/2008/08/11/passenger-and-rubyent-updates/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:01:00 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=73</guid>
		<description><![CDATA[My webserver is now running Phusion Passenger 2.0.3 for Ruby/Rails apps using Ruby Enterprise Edition 1.8.6-20080810. This greatly simplifies application deployment and helps improve performance and memory usage.]]></description>
			<content:encoded><![CDATA[<p>Updated my web server with <a href="http://rubyenterpriseedition.com">Ruby Enterprise Edition</a> 1.8.6-20080810 and <a href="http://modrails.com">Phusion Passenger</a> 2.0.3 successfully. Both releases feature bugfixes for security issues and the like. My web server currently powers this blog, a <a href="http://www.redmine.org">Redmine</a> instance for my own projects, and some &#8220;production&#8221; servers for a few <a href="http://isgilded.com">Rails apps</a> I&#8217;m writing right now.</p>
<p>I&#8217;d highly recommend Passenger and RubyEnt for low-volume or even high-traffic production Rails servers. It has greatly simplified my deployment and performance on a VPS with, say, 540MB of RAM is stellar. If you set the idle timeout to something huge, you can get almost Nginx+Mongrel/Thin level performance even on a low-traffic server; otherwise you have to wait a brief time (10-15 seconds) when the app has been idle for a while.</p>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/08/11/passenger-and-rubyent-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another successful Passenger deployment</title>
		<link>http://shanesveller.com/2008/06/25/another-successful-passenger-deployment/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=another-successful-passenger-deployment</link>
		<comments>http://shanesveller.com/2008/06/25/another-successful-passenger-deployment/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 18:16:38 +0000</pubDate>
		<dc:creator>Shane</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://shanesveller.com/?p=56</guid>
		<description><![CDATA[This morning, as a result of a hardware failure on my home server, I decided to move my Redmine devtracker to my Linode host.I used: Ubuntu Server 8.04 AMD64 Apache2-prefork 2.2.8 Passenger 2.0.1 Ruby Enterprise Edition 1.8.6-20080624 Redmine 0.7 stable (SVN r1547) My apache vhost is as follows: &#60;VirtualHost *:80&#62; ServerName dev.shanesveller.com DocumentRoot /var/rails/redmine-0.7/public &#60;Directory]]></description>
			<content:encoded><![CDATA[<p>This morning, as a result of a hardware failure on my home server, I decided to move my <a href="http://www.redmine.org">Redmine</a> devtracker to my Linode host.<span id="more-30"></span>I used:</p>
<ul>
<li><a href="http://www.ubuntu.com">Ubuntu</a> Server 8.04 AMD64</li>
<li>Apache2-prefork 2.2.8</li>
<li><a href="http://www.modrails.com">Passenger</a> 2.0.1</li>
<li><a href="http://www.rubyenterpriseedition.com">Ruby Enterprise Edition</a> 1.8.6-20080624</li>
<li><a href="http://www.redmine.org">Redmine</a> 0.7 stable (SVN r1547)</li>
</ul>
<p>My apache vhost is as follows:</p>
<pre>&lt;VirtualHost *:80&gt;
  ServerName dev.shanesveller.com

  DocumentRoot /var/rails/redmine-0.7/public

&lt;Directory "/var/rails/redmine-0.7/public"&gt;
   Options FollowSymLinks
   AllowOverride None
   Order allow,deny
   Allow from all
&lt;/Directory&gt;

  # Custom log file locations
  # ErrorLog  /var/rails/redmine/log/error.log
  # CustomLog /var/rails/redmine/log/access.log combined

&lt;/VirtualHost&gt;</pre>
<div>The passage in the middle is there because my CSS styles and images were missing. This is explained in the <a href="http://modrails.com/documentation/Users%20guide.html#_static_assets_such_as_images_and_stylesheets_aren_t_being_displayed">User&#8217;s Guide</a>.</div>
<p>This allows me to serve my WordPress blog and my Redmine tracker and use about 260MB of RAM. If you take off the buffers and cache memory, it&#8217;s actually more like 110MB.</p>
<p>To enable Passenger and RubyEE in Apache, I used the following file in <code>/etc/apache2/conf.d/passenger</code>:</p>
<pre>   LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1/ext/apache2/mod_passenger.so
   PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.0.1
   RailsRuby /opt/ruby-enterprise/bin/ruby</pre>
<p>The relevant Ubuntu packages are:</p>
<pre>apache2 apache2-prefork-dev apache2-mpm-prefork build-essential ruby1.8-dev ruby ri rake irb rdoc libmysqlclient15-dev libopenssl-ruby</pre>
]]></content:encoded>
			<wfw:commentRss>http://shanesveller.com/2008/06/25/another-successful-passenger-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
