<?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/"
	>

<channel>
	<title>Brightbox Blog &#187; gem</title>
	<atom:link href="http://blog.brightbox.co.uk/tag/gem/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.brightbox.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 02 Dec 2011 12:56:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Rails 3 has landed!</title>
		<link>http://blog.brightbox.co.uk/posts/rails-3-has-landed</link>
		<comments>http://blog.brightbox.co.uk/posts/rails-3-has-landed#comments</comments>
		<pubDate>Thu, 09 Sep 2010 12:57:21 +0000</pubDate>
		<dc:creator>Ben Arblaster</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[Action Controller]]></category>
		<category><![CDATA[Action Mailer]]></category>
		<category><![CDATA[Active Record]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[rails 3]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=1179</guid>
		<description><![CDATA[After two years of hard work, the third generation of Rails is ready for the big time! Rails 3 brings about some major changes to make things all together &#8220;better, faster, cleaner, and more beautiful&#8221; and solve some of the common issues seen with Rails 2. Some of the major highlights include Improved router syntax [...]]]></description>
			<content:encoded><![CDATA[<p>After two years of hard work, the third generation of Rails is <a href="http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done">ready for the big time</a>! Rails 3 brings about some major changes to make things all together &#8220;better, faster, cleaner, and more beautiful&#8221; and solve some of the common issues seen with Rails 2. Some of the major highlights include</p>
<p><strong>Improved router syntax for Action Controller</strong></p>
<p>The router syntax in Rails 3 has been completely revamped to build on the work from Rails 2 and provide a more elegant and flexible way to provide completely RESTful access for controllers. To get started see the <a href="http://edgeguides.rubyonrails.org/routing.html">new routing guide</a>.</p>
<p><strong>Brand new Action Mailer</strong></p>
<p>Action Mailer was previously a bit of a hybrid, part controller, part model. Rails 3 sees Action Mailer completely rewritten purely as a controller, it now behaves much more like Action Controller. The <a href="http://edgeguides.rubyonrails.org/action_mailer_basics.html">new Action Mailer guide</a> describes how to get going.</p>
<p><strong>New query engine for Active Record</strong></p>
<p>Active Record has adopted a new <a href="http://github.com/brynary/arel">query engine</a> to make complex queries more consistent and manageable. Execution of queries is now delayed until actually required and not when defined. For an introduction to the new query engine check out the new <a href="http://guides.rubyonrails.org/active_record_querying.html">new Active Record guide</a>.</p>
<p><strong>Bundler</strong></p>
<p>Traditionally, managing the dependencies for your Rails app deployment can be a bit of a nightmare. While Capistrano, Rake and other partial solutions make automating things easier, they&#8217;re often not elegant or simple. <a href="http://gembundler.com/">Bundler</a> provides a complete solution to managing gems, libraries, frameworks and plugins that your app depends on. The latest release of the Brightbox deployment gem offers full support for Bundler.</p>
<p>Other improvements include built in XSS protection, an official plugins API, Agnosticism with plugins, Active Model callbacks &amp; validations, better handling of character encoding and many more. For a more comprehensive list of changes see the <a href="http://edgeguides.rubyonrails.org/3_0_release_notes.html">release notes</a>.</p>
<h4>Rails 3 on your Brightboxes</h4>
<p>
Getting up and running with Rails 3 on your Brightboxes should be as simple as you&#8217;re used to with your existing Rails 2 apps.</p>
<p><span id="more-1179"></span></p>
<p><strong>Prerequisites</strong></p>
<p>Rails 3 requires Ruby 1.8.7 or higher, Ruby 1.8.6 is no longer supported. If you&#8217;re using Hardy based Brightboxes you&#8217;ll need to <a href="http://wiki.brightbox.co.uk/docs:ruby:1.8.7">upgrade the standard Ruby Enterprise Edition package</a>, Lucid based Brightboxes include 1.8.7 by default. Ruby 1.9.2 is also supported, though we don&#8217;t have packages for it just yet.</p>
<p>Full support for Rails 3 deployment was added to the Brightbox deployment gem in version 2.3.7, so if you&#8217;re using an older version you&#8217;ll need to update. Don&#8217;t forget to update the brightbox-server-tools on your boxes too! The gem now has full bundler support for managing gem dependencies so if you&#8217;re using bundler you no longer need to define gems in your deployment recipe. Bundler is now our recommended solution for handling dependencies.</p>
<p>You&#8217;ll also need RubyGems 1.3.7 or newer. New Brightboxes include our 1.3.7 rubygems package for Ubuntu, if you&#8217;re running an older version you can upgrade like so</p>
<pre>sudo apt-get update
sudo apt-get install rubygems</pre>
<p>We&#8217;d also recommend running your app with the latest version of Phusion Passenger, especially if you plan on running Rails 2 and 3 side-by-side.</p>
<p><strong>Installation</strong></p>
<p>Installing Rails 3 is as simple as</p>
<pre>gem install rails --version 3.0.0</pre>
<p><strong>Deployment</strong></p>
<p>You can deploy your Rails 3 apps using the <a href="http://wiki.brightbox.co.uk/docs:gemv2:start">Brightbox gem</a> just like you&#8217;re used to. Make sure you&#8217;re using the latest release of the gem which contains some new features to improve Rails 3 support.</p>
<p><strong>Documentation</strong></p>
<p>For more information on using Rails 3 see the newly updated <a href="http://guides.rubyonrails.org/">official documentation</a>. For help with running Rails 3 on your Brightbox, including information on running Rails 2 &amp; 3 side-by-side see our <a href="http://wiki.brightbox.co.uk/docs:rails3">Rails 3 wiki page</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/rails-3-has-landed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brightbox Gem v2.3.6 released</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released#comments</comments>
		<pubDate>Wed, 27 Jan 2010 08:41:21 +0000</pubDate>
		<dc:creator>Caius Durling</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[recipes]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=921</guid>
		<description><![CDATA[Today I’m pleased to announce a new revision of the Brightbox Deployment Gem, version 2.3.6. This release fixes some of the issues reported to us by our users, along with a few extra features. The documentation on the wiki has been updated with the new fixes and features. If you have any tips or find [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright right size-full wp-image-70" title="Brightbox gem" src="http://blog.brightbox.co.uk/wp-content/uploads/2008/05/brightbox_gem.png" alt="" width="221" height="105" /></p>
<p>Today I’m pleased to announce a new revision of the Brightbox Deployment Gem, version 2.3.6. This release fixes some of the issues reported to us by our users, along with a few extra features.</p>
<p>The documentation <a href="http://wiki.brightbox.co.uk/docs:thebrightboxgemv2">on the wiki</a> has been updated with the new fixes and features. If you have any tips or find any errors just let us know.</p>
<p><span style="color: #888888;">NEW FEATURES</span></p>
<h3 id="apt_package_dependencies">Apt Package Dependencies</h3>
<p>Just as you can currently define gems your application relies on and have them automatically installed onto your servers, you can now do the same with apt packages. Define them in your <code>deploy.rb</code> and they’ll be installed <em>before</em> installing your required rubygems, which means you can use it to install apt packages that gems depend on. As an example, the nokogiri gem depends on a couple of apt packages.</p>
<pre><code>depend :remote, :apt, "libxml2-dev"
depend :remote, :apt, "libxslt1-dev"
depend :remote, :gem, "nokogiri", "&gt;= 0"
</code></pre>
<h3 id="intermediate_ssl_certificates">Intermediate SSL Certificates</h3>
<p>Support for Intermediate SSL Certificates in Apache has been added, meaning you no longer need to manually edit the Apache config files directly. Just add one line to your <code>deploy.rb</code> and the gem now takes care of updating the Apache config for you. An example SSL configuration:</p>
<pre><code>set :ssl_certificate, "my_cert.pem"
set :ssl_key, "my_cert.key"
set :ssl_intermediate, "intermediate.crt"
</code></pre>
<p>See the wiki page for <a href="http://wiki.brightbox.co.uk/docs:gemv2:ssl#intermediate_certificate">Adding SSL Support to Apache</a> for more information.</p>
<h3 id="deploylocalrb">Deploy.local.rb</h3>
<p>A common issue we’ve seen with is setting the deploy password. If you put it in <code>deploy.rb</code>, then it inevitably ends up in your source control repository, which is a bad idea. A workaround we’ve suggested in the past is to have a <code>deploy.local.rb</code> file, which isn’t tracked by source control, and load that from within your <code>deploy.rb</code> file. This allows you to have the password (or any other sensitive settings) defined, but kept outside your source control.</p>
<p>As part of this release, the gem now has official support for a <code>deploy.local.rb</code> file. If it exists, the gem will load it in for you.</p>
<p>For more information see the <a href="http://wiki.brightbox.co.uk/docs:gemv2:advancedgemsettings#deploy.local.rb">Advanced Gem Settings</a> page on the wiki.</p>
<h3 id="disable_regenerating_webserver_config">Disable (re)generating webserver config</h3>
<p>If you’ve made manual changes to your webserver (apache or nginx) configuration, then you don’t want an accidental <code>deploy:setup</code> to overwrite your configs. Up until now you just had to avoid running the command, but now there’s a setting to disable it for you.</p>
<pre><code>set :generate_webserver_config, false
</code></pre>
<p><span style="color: #888888;">FIXES AND ENHANCEMENTS</span></p>
<ul>
<li><a href="http://wiki.brightbox.co.uk/docs:gemv2:staticcache">Max Age</a> setting now accepts a number as well as a string</li>
<li>deploy:initial reloads Apache so the new config is loaded</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-3-6-released/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free software and Brightbox</title>
		<link>http://blog.brightbox.co.uk/posts/free-software-and-brightbox</link>
		<comments>http://blog.brightbox.co.uk/posts/free-software-and-brightbox#comments</comments>
		<pubDate>Mon, 09 Mar 2009 11:19:46 +0000</pubDate>
		<dc:creator>Rahoul Baruah</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[altered beast]]></category>
		<category><![CDATA[bigwig]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[flashing rails]]></category>
		<category><![CDATA[free-software]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[isitruby19]]></category>
		<category><![CDATA[object factory]]></category>
		<category><![CDATA[passenger]]></category>
		<category><![CDATA[redmine]]></category>
		<category><![CDATA[rspec-rails extensions]]></category>
		<category><![CDATA[ruby-enterprise-edition]]></category>
		<category><![CDATA[rubyforge]]></category>
		<category><![CDATA[rujitsu]]></category>
		<category><![CDATA[warren]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=495</guid>
		<description><![CDATA[At Brightbox we like free and open source software. Every Brightbox runs Ubuntu, which is an operating system built on top of the GPL Linux kernel. Our infrastructure is built upon Xen, Apache, Nginx, MySQL, Nagios and many other open source software projects; not least of which are Ruby and Rails themselves. But whilst we [...]]]></description>
			<content:encoded><![CDATA[<p>At Brightbox we like free and open source software.</p>
<p>Every Brightbox runs Ubuntu, which is an operating system built on top of the GPL Linux kernel.  Our infrastructure is built upon Xen, Apache, Nginx, MySQL, Nagios and many other open source software projects; not least of which are Ruby and Rails themselves.</p>
<p>But whilst we benefit from this software, without contribution, free software is nothing, so we contribute anything we can.  The most obvious of these are the <a href="http://rubyforge.org/projects/brightbox/">Brightbox deployment gem</a> and its associated server-side tools.  These are extensions to Capistrano that help you get your application onto your Brightbox as quickly and easily as possible.</p>
<p>We also have our <tt>apt</tt> repository where we repackage a number of free software projects to make configuring your Brightbox as easy as possible.  More details on the repository are available <a href="http://wiki.brightbox.co.uk/docs:brightboxaptrepository:packages">on the wiki</a>, but the most notable are our <a href="http://wiki.brightbox.co.uk/docs:phusion-passenger">Passenger</a> and <a href="http://wiki.brightbox.co.uk/docs:ruby-enterprise">Ruby Enterprise Edition</a> packages.</p>
<p>However, nowadays, the real place for sharing your code is on <a href="http://github.com/brightbox">Github</a>.  We have a number of projects available there, ranging from the <a href="http://github.com/brightbox/flashing-rails/tree/master">tiny</a> to the <a href="http://github.com/brightbox/redmine/tree/master">large</a>.</p>
<p>These include:</p>
<ul>
<li> <a href="http://github.com/brightbox/flashing-rails/tree">Flashing rails</a>
<p>A rails plugin that makes it simple to display flash messages in your views in a consistent manner.</li>
<li> <a href="http://github.com/brightbox/rujitsu/tree">Rujitsu</a>
<p>A simple gem that collects together a number of convenience methods and various helpers.</li>
<li> <a href="http://github.com/brightbox/rspec-rails-extensions/tree">RSpec-rails extensions</a>
<p>A gem that tidies up specifying your code with <a href="http://github.com/dchelimsky/rspec-rails/tree/master">RSpec-Rails</a>.</li>
<li> <a href="http://github.com/brightbox/object-factory/tree">Object Factory</a>
<p>Brightbox&#8217;s very own answer to <a href="http://github.com/thoughtbot/factory_girl/tree/master">Factory Girl</a> or <a href="http://github.com/notahat/machinist/tree/master">Machinist</a> that lets you build your test data with minimal configuration and no fixtures.</li>
<li> <a href="http://github.com/davidsmalley/altered_beast/tree/master">Altered Beast</a> and <a href="http://github.com/brightbox/redmine/tree">Redmine</a>.
<p>We have taken our own forks of two popular Rails applications.  David&#8217;s version of Altered Beast handles the <a href="http://forum.brightbox.co.uk">Brightbox forums</a> and Redmine handles our internal bug tracking and task lists.</li>
<li> <a href="http://github.com/brightbox/warren/tree">Warren and Bigwig</a>
<p>Last, but by no means least, we have Warren and Bigwig.  These are our wrappers to AMQP and <a href="http://www.rabbitmq.com/">RabbitMQ</a>.</p>
<p>We use RabbitMQ internally to deliver messages across our various infrastructure systems and needed a simple way to interface our ruby code to Rabbit (which is implemented in Erlang).</p>
<p>This led to Warren, our wrapper over the AMQP protocol that make it simple to post messages onto the queue.</p>
<p>In order to receive and act on those messages, we also built Bigwig (no prizes for spotting the rabbit references there), which takes those messages and responds.  Bigwig matches each incoming message against a set of plugins, each plugin being small and focused on a particular task.  Unrecognised messages are discarded, ensuring that rogue commands can&#8217;t wreak havoc upon our network. <br/><strong>UPDATE</strong>: It turns out that Bigwig isn&#8217;t <em>quite</em> ready yet, as a big chunk has been rewritten.  We&#8217;ll get it out there as soon as we can.
</li>
</ul>
<p>As these are all free software projects, please take a look inside and poke around.  Any suggestions, improvements, patches or forks will be gratefully received.  Also, stay tuned for an announcement on a major project we are looking to start in the next couple of weeks.</p>
<p><strong>Update 2</strong>: We&#8217;ve also put the code for <a href="http://isitruby19.com">Isitruby19.com</a> onto <a href="http://github.com/brightbox/isitruby19/tree/master">Github</a>, under an MIT licence.  Please go to the <a href="http://forum.brightbox.co.uk/forums/isitruby19-com/topics/isitruby19-on-github">forum</a> if you have any questions.  </p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/free-software-and-brightbox/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Brightbox gem 2.3</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-gem-23</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-gem-23#comments</comments>
		<pubDate>Fri, 13 Feb 2009 14:38:29 +0000</pubDate>
		<dc:creator>David Smalley</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[brightbox gem]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[gem dependencies]]></category>
		<category><![CDATA[gems:install]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=469</guid>
		<description><![CDATA[I&#8217;m pleased to announce that we have just pushed a new revision to the Brightbox gem up to Rubyforge.  Version 2.3 of the gem fixes some issues reported to us by our users. A quick summary of the changes from the release notes: Removed the Capistrano task which calls the db:check:config rake task. This task was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pleased to announce that we have just pushed a new revision to the Brightbox gem up to Rubyforge. </p>
<p>Version 2.3 of the gem fixes some issues reported to us by our users. A quick summary of the changes from the release notes:</p>
<ul>
<li>Removed the Capistrano task which calls the <code>db:check:config</code> rake task. This task was introduced to help with a common config mistake, but just resulted in a different mistake becoming common.</li>
<li>Removed the Capistrano task which calls <code>rake gems:install</code>. Running this as sudo was causing some permissions errors caused by initialising the Rails stack as root.</li>
<li>Fixed how we track the commands the gem depends upon, the <code>deploy:check</code> command now works as expected.</li>
<li>Gem dependencies are now installed by listing them in deploy.rb, extra examples have been added to the boilerplate deploy file.</li>
</ul>
<p>The change in the way we handle gem dependencies was the reasoning behind making this a minor version release. Previously we simply called the inbuilt Rails 2.2 gem install task.  However we found some issues where customers with fresh deployments when running this command as root would result in files being created that could not then be removed during subsequent deployments. We took the decision to use the inbuilt capistrano dependencies to handle the installation of remote gems (examples are available inside the deploy.rb that the brightbox command automatically generates for you).</p>
<p><strong>Update 24/2/2009: </strong>We&#8217;ve just pushed a new version, 2.3.2 that changes slightly how the gem dependencies work. You now specify a dependency with an alternate source in your deploy.rb like this:</p>
<p><code>depend :remote, :gem, "tmm1-amqp", "&gt;=0.6.0", :source =&gt; "http://gems.github.com"</code></p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-gem-23/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Brightbox Gem v2 beta</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-beta</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-beta#comments</comments>
		<pubDate>Fri, 09 May 2008 13:13:32 +0000</pubDate>
		<dc:creator>Neil Wilson</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[brightbox gem]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/?p=69</guid>
		<description><![CDATA[We&#8217;re proud to announce the beta version of our new Brightbox deployment gem. It is available from the Brightbox gem testing repository at http://gems.brightbox.net/testing. You can add this repository to your list by following these instructions. This gem is a complete rewrite, to take advantage of the latest features of Capistrano and Rails. The Gem [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright right size-full wp-image-70" title="Brightbox gem" src="http://blog.brightbox.co.uk/wp-content/uploads/2008/05/brightbox_gem.png" alt="" width="221" height="105" /></p>
<p>We&#8217;re proud to announce the beta version of our new Brightbox deployment gem. It is available from the Brightbox gem testing repository at <a href="http://gems.brightbox.net/testing/">http://gems.brightbox.net/testing</a>. You can add this repository to your list by following <a href="http://groups.google.com/group/brightbox-beta/web/accessing-the-beta-gem-repository?hl=en">these instructions</a>.</p>
<p>This gem is a complete rewrite, to take advantage of the latest features of Capistrano and Rails. The Gem works with the current version of Capistrano (2.3) and supports the deployment of Rails 2.x applications.</p>
<p><span style="color: #888888;">FEATURES</span></p>
<h3>Deploy with a single command</h3>
<p>You can deploy a Rails application onto the Brightbox system with a single command (deploy:initial). We&#8217;ve tried to reduce the amount of work required to get an application working. You can follow our simplified <a href="http://wiki.brightbox.co.uk/docs:gemv2:howto">initial deployment guide on our wiki</a></p>
<h3>Focus on new deployment</h3>
<p>The Brightbox gem is designed to allow you to quickly deploy an application to your new Brightbox. We&#8217;ve created sensible defaults for many of the Brightbox command options, and trimmed as much of the fat as we can from the deployment process. But because the gem generates Capistrano files you can tailor this starting point to your exact needs using the full power of Capistrano.</p>
<h3>Deploy your working copy</h3>
<p>The gem uses the new &#8216;:none&#8217; scm option in Capistrano that simply zips up the current directory and deploys it on the server. No more messing around with version control security until you&#8217;re ready. Just deploy and go.</p>
<h3>Automatically creates database configuration</h3>
<p>The standard &#8216;mysql&#8217; command allows you to put the database, username and password in a file called &#8216;.my.cnf&#8217; in the &#8216;rails&#8217; user home directory on the server. The mysql command will then read that file and logon to the database directly. If your application is short of a &#8216;production&#8217; section in its config/database.yml then the recipes will take the contents of &#8216;.my.cnf&#8217; and create a production section dynamically.</p>
<h3>Automatically creates databases and gems</h3>
<p>Rails now has rake commands for creating databases and installing required gems. Where these are available the recipes will use them automatically. For Rails 2.0 users we&#8217;ve created a simple &#8216;stop gap&#8217; rake task that you can use to specify your required gems.</p>
<h3>Separate server and client gems</h3>
<p>Once the gem is released all new brightboxes will come with the server gem preinstalled. For older boxes you will need to install the server tools manually. Log into your brightbox and run:</p>
<p><code> </code></p>
<pre>sudo gem install brightbox-server-tools -y --no-ri --no-rdoc</pre>
<h3>Logs Rotated</h3>
<p>The gem asks the operating system to monitor the size of the application logs and rotate them when they get too big or too old. No longer should a neglected log file bring your server to its knees.</p>
<h3>Mongrels Cleaned</h3>
<p>Mongrel tend to be dirty when it falls over and leaves PID files lying around to trap the unwary. The new gem cleans up dirty PID files before it restarts.</p>
<h3>Works alongside Capistrano</h3>
<p>We&#8217;ve simplified the recipes so that, wherever possible, they augment the existing Capistrano deployment commands we all know and love rather than replacing them. That way your deployments gain the benefits of Capistrano improvements as well as improvements in the Brightbox gem. Free software at its best.</p>
<h3>NOW WE NEED YOUR HELP!</h3>
<p>We&#8217;d like as many Brightbox customers to use the new gem and let us know what they think of it so that we can hone it to perfection. Please give it a go and then pop along to our Brightbox Beta discussion group (<a href="http://groups.google.com/group/brightbox-beta">http://groups.google.com/group/brightbox-beta</a>) and let us know any feedback or problems.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-gem-v2-beta/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Brightbox Gem v0.24</title>
		<link>http://blog.brightbox.co.uk/posts/brightbox-gem-v024</link>
		<comments>http://blog.brightbox.co.uk/posts/brightbox-gem-v024#comments</comments>
		<pubDate>Fri, 02 Nov 2007 12:58:48 +0000</pubDate>
		<dc:creator>John Leach</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/posts/brightbox-gem-v024</guid>
		<description><![CDATA[I&#8217;ve just released a new version of the Brightbox Gem. It might takes a few hours to get to all the Rubyforge mirrors but in the mean time you can download and install it manually directly from the project page. It&#8217;s largely just a maintenance release, which means no Capistrano v2.0 support just yet, it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a new version of the <a href="http://rubyforge.org/projects/brightbox/" title="Brightbox Ruby on Rails Deployment Gem">Brightbox Gem</a>.  It might takes a few hours to get to all the <a href="http://rubyforge.org">Rubyforge</a> mirrors but in the mean time you can download and install it manually directly from the <a href="http://rubyforge.org/projects/brightbox/" title="Brightbox Ruby on Rails Deployment Gem">project page</a>.</p>
<p>It&#8217;s largely just a maintenance release, which means no Capistrano v2.0 support just yet, it still requires Capistrano 1.4.1.  Cap 2.0 support is in the works though and will be released soon.</p>
<p>A quick summary of the changes:</p>
<ul>
<li> Fixes default Monit config bug (changes totalmem to mem, no more false memory overage alarms!)</li>
<li> Fails out if MySQL database exists on cold_deploy (you really shouldn&#8217;t be running a cold_deploy a second time anyway)</li>
<li> Adds reconfigure task (for easy adding of mongrels or domain changes)</li>
<li> Archives Apache configs on cold_deploy or reconfigure</li>
<li> Fixes Capistrano 1.4 dependency (will pull in v1.4.1 if necessary now)</li>
<li> Changes default Apache log location to /var/log/web (for new cold_deploys or reconfigures)</li>
</ul>
<p>Remember that you need to upgrade the Brightbox gem both in your development environment and on your Brightbox.</p>
<p>The HOWTO on deploying your Rails app using the Brightbox <a href="http://wiki.brightbox.co.uk/docs:thebrightboxgem:howto" title="Deploying your Rails app using the Brightbox Gem">is here</a> as usual.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/brightbox-gem-v024/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hey, what&#8217;s the hold up?</title>
		<link>http://blog.brightbox.co.uk/posts/hey-whats-the-hold-up</link>
		<comments>http://blog.brightbox.co.uk/posts/hey-whats-the-hold-up#comments</comments>
		<pubDate>Wed, 27 Jun 2007 23:00:11 +0000</pubDate>
		<dc:creator>Jeremy Jarvis</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[brightbox]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://blog.brightbox.co.uk/posts/hey-whats-the-hold-up</guid>
		<description><![CDATA[If you&#8217;ve been paying close attention, you might have noticed the countdown timer recently disappeared from the holding page. Don&#8217;t panic, nothing sinister is happening :) It&#8217;s just that our testing has taken a little longer than planned (plus a delay in the delivery of some new shiny hardware set us back another week). Jason [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been paying close attention, you might have noticed the countdown timer recently disappeared from the <a href="http://www.brightbox.co.uk">holding page</a>. Don&#8217;t panic, nothing sinister is happening :) It&#8217;s just that our testing has taken a little longer than planned (plus a delay in the delivery of some new shiny hardware set us back another week).</p>
<p>Jason Fried (<a href="http://www.37signals.com" target="_blank">37signals</a>) was right and I should have listened:</p>
<blockquote><p>..we don&#8217;t have release dates. It&#8217;s a great way to make sure things are never late.</p></blockquote>
<p>Also, in response to some good early feedback, John&#8217;s been working on a deployment gem that will make it super simple to deploy your Ruby on Rails apps to Brightbox.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.brightbox.co.uk/posts/hey-whats-the-hold-up/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

