<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Slash Dot Dash: Typo 4 Upgrade</title>
    <link>http://www.slashdotdash.net/articles/2006/08/03/typo-4-upgrade</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Rolling on Rails</description>
    <item>
      <title>Typo 4 Upgrade</title>
      <description>&lt;p&gt;Finally got round to upgrading to &lt;a href="http://scottstuff.net/blog/articles/2006/07/22/typo-4-0-0"&gt;Typo 4&lt;/a&gt; (you may have noticed the theme changed again).&lt;/p&gt;


	&lt;p&gt;Initially I had a problem with the new Typo gem (installing on a Debian server). This was caused by the sqlite3 gem dependency and was resolved quite simply.&lt;/p&gt;


&lt;pre&gt;
Building native extensions.  This could take a while...
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.
&lt;/pre&gt;

	&lt;p&gt;Requires the sqlite3 development headers, which were an &lt;code&gt;apt-get&lt;/code&gt; command away.&lt;/p&gt;


&lt;pre&gt;
apt-get install sqlite3 sqlite3-ruby libsqlite3-dev
gem install sqlite3-ruby
&lt;/pre&gt;

	&lt;h3&gt;Install Typo 4&lt;/h3&gt;


&lt;pre&gt;
gem install typo
mysqldump &amp;lt;typo_db_name&amp;gt; -uusername -p &amp;gt; backup.sql
mv /old/blog/location /old/blog_bak
typo install /your/path
&lt;/pre&gt;

	&lt;p&gt;Copy over database.yml to new location (and also .htaccess file), then update the database.&lt;/p&gt;


&lt;pre&gt;
rake migrate
&lt;/pre&gt;

	&lt;p&gt;Restart the webserver and voila.&lt;/p&gt;</description>
      <pubDate>Thu, 03 Aug 2006 23:13:32 +0100</pubDate>
      <guid isPermaLink="false">urn:uuid:5988ad3e-fb61-489a-88fb-1920d3e3b6ce</guid>
      <author>ben@slashdotdash.net (Ben)</author>
      <link>http://www.slashdotdash.net/articles/2006/08/03/typo-4-upgrade</link>
      <category>Typo</category>
      <category>Blog</category>
      <trackback:ping>http://www.slashdotdash.net/articles/trackback/76</trackback:ping>
    </item>
  </channel>
</rss>
