<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/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>Brainspl.at: Merb 0.0.7 Released</title>
    <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Brainspl.at</description>
    <item>
      <title>"Merb 0.0.7 Released" by Ron Evans</title>
      <description>I am loving on the Merb! I think I will start a series of Merb posts on my blog...here is the first entry:

http://deadprogrammersociety.blogspot.com/2006/12/merb-is-word.html

Thanks for some good Merb, Ezra!

Ron</description>
      <pubDate>Thu, 14 Dec 2006 21:51:04 +0000</pubDate>
      <guid>urn:uuid:f946a198-3758-4cde-b268-6f1e62573675</guid>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released#comment-3829</link>
    </item>
    <item>
      <title>"Merb 0.0.7 Released" by Ron Evans</title>
      <description>Thanks, Ed! I had the same problem with the 0.0.7 version, and didn't even think to re-tar the files in the gem.

Regards,
Ron</description>
      <pubDate>Wed, 13 Dec 2006 18:18:01 +0000</pubDate>
      <guid>urn:uuid:74b1c59f-9152-4572-86e1-5e2428828dab</guid>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released#comment-3826</link>
    </item>
    <item>
      <title>"Merb 0.0.7 Released" by Ed Chang</title>
      <description>Wow, no formatting in the previous post. Re-posting with HTML formatting this time. Sorry...&lt;br /&gt;&lt;br /&gt;
Merb got mentioned on the 2nd day of the Ruby 2006 Advent Calendar (http://www.rubyinside.com/advent2006/2-erubis.html). I was intrigued by Peter Cooper's description of merb as a mini-framework and eventually and eventually made my way to Ezra's article titled &amp;quot;Merb is useable and a gem&amp;quot; (http://brainspl.at/articles/2006/10/18/merb-is-useable-and-a-gem). I tried to install merb following the directions in the article, but due to errors, never got past &amp;quot;gem install merb&amp;quot;.
&lt;p&gt;Here's what ruby and gems report about my environment settings:&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;C:\&amp;gt; ruby -v&lt;br&gt;
  ruby 1.8.5 (2006-08-25) [i386-mswin32]&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;C:\&amp;gt; gem environment&lt;br&gt;
  Rubygems Environment:&lt;br&gt;
  - VERSION: 0.9.0 (0.9.0)&lt;br&gt;
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8&lt;br&gt;
  - GEM PATH:&lt;br&gt;
  - C:/Ruby/lib/ruby/gems/1.8&lt;br&gt;
  - REMOTE SOURCES:&lt;br&gt;
  - http://gems.rubyforge.org&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;I try and install merb-0.0.7.gem remotely by doing the following:&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;C:\&amp;gt; gem install merb&lt;br&gt;
  ERROR: While executing gem ... (Zlib::BufError)&lt;br&gt;
  buffer error&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;Hmmm...that's pretty useless. So let's try again with debugging info:&lt;/p&gt;
&lt;p&gt; &lt;br&gt;
  C:\&amp;gt; gem install --include-dependencies --traceback --debug merb&lt;br&gt;
  Exception `Errno::ENOENT' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:50 - No such file or directory - C:\Documents and Settings\easye/.gemrc&lt;br&gt;
  Exception `LoadError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to load -- sources&lt;br&gt;
  Exception `Zlib::BufError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613 - buffer error&lt;br&gt;
  ERROR: While executing gem ... (Zlib::BufError)&lt;br&gt;
  buffer error&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `initialize'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `new'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `zipped_stream'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:588:in `each'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:445:in `each_entry'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:439:in `loop'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:439:in `each_entry'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:424:in `each'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:586:in `each'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:62:in `from_io'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:579:in `open_from_io'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:801:in `open_from_io'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:59:in `from_io'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:47:in `from_file_by_path'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:62:in `install'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:444:in `install'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:258:in `execute'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:220:in `each'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:220:in `execute'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:69:in `invoke'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:117:in `process_args'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:88:in `run'&lt;br&gt;
  C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:29:in `run'&lt;br&gt;
  C:/Ruby/bin/gem.bat:24&lt;br&gt;
  removing D:/Temp/open-uri.2524.0...done&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;The comments around line 613 in C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb look interesting and I'm curious about which version of zlib is installed on my machine:&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;C:\&amp;gt; ruby -e 'require &amp;quot;zlib&amp;quot;; p Zlib::ZLIB_VERSION'&lt;br&gt;
&amp;quot;1.2.3&amp;quot;&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;Odd. On the chance that something got corrupted while fetching the merb-0.0.7.gem file remotely, I manually downloaded the gem file and tried to install locally. Same errors as above. After some googling, things eventually got resolved by doing the following:&lt;br&gt;
&lt;/p&gt;
&lt;p&gt;1. Download merb-0.0.7.gem&lt;/p&gt;
&lt;p&gt;2. Rename merb-0.0.7.gem to merb-0.0.7.tar&lt;/p&gt;
&lt;p&gt;3. Untar merb-0.0.7.tar using...&lt;br&gt;
  tar -xvf merb-0.0.7.tar&lt;/p&gt;
&lt;p&gt;4. Decompress the 2 files (data.tar.gz and metadata.gz) that were untarred using...&lt;br&gt;
  gunzip *.gz&lt;/p&gt;
&lt;p&gt;5. Compress the 2 files that were untarred using...&lt;br&gt;
  gzip -9 data.tar metadata&lt;/p&gt;
&lt;p&gt;6. Tar the 2 files (data.tar.gz and metadata.gz) using...&lt;br&gt;
  tar -cf merb-0.0.7.gem *.gz&lt;br&gt;
  &lt;br&gt;
  7. Install gem locally using...&lt;br&gt;
  gem install -l merb-0.0.7.gem&lt;br&gt;
  &lt;br&gt;
  Hope that helps others.&lt;/p&gt;
&lt;p&gt;Ed&lt;/p&gt;</description>
      <pubDate>Sun, 03 Dec 2006 06:02:56 +0000</pubDate>
      <guid>urn:uuid:025eff1d-f667-4169-bca3-ad45785d33a5</guid>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released#comment-3794</link>
    </item>
    <item>
      <title>"Merb 0.0.7 Released" by Ed Chang</title>
      <description>Merb got mentioned on the 2nd day of the Ruby 2006 Advent Calendar (http://www.rubyinside.com/advent2006/2-erubis.html). I was intrigued by Peter Cooper's description of merb as a mini-framework and eventually and eventually made my way to Ezra's article titled "Merb is useable and a gem" (http://brainspl.at/articles/2006/10/18/merb-is-useable-and-a-gem). I tried to install merb following the directions in the article, but due to errors, never got past "gem install merb".

Here's what ruby and gems report about my environment settings:


C:\&gt; ruby -v
ruby 1.8.5 (2006-08-25) [i386-mswin32]


C:\&gt; gem environment
Rubygems Environment:
  - VERSION: 0.9.0 (0.9.0)
  - INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
  - GEM PATH:
     - C:/Ruby/lib/ruby/gems/1.8
  - REMOTE SOURCES:
     - http://gems.rubyforge.org


I try and install merb-0.0.7.gem remotely by doing the following:


C:\&gt; gem install merb
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error


Hmmm...that's pretty useless. So let's try again with debugging info:

    
C:\&gt; gem install --include-dependencies --traceback --debug merb
Exception `Errno::ENOENT' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:50 - No such file or directory - C:\Documents and Settings\easye/.gemrc
Exception `LoadError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27 - no such file to load -- sources
Exception `Zlib::BufError' at C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613 - buffer error
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `initialize'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `new'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:613:in `zipped_stream'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:588:in `each'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:445:in `each_entry'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:439:in `loop'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:439:in `each_entry'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:424:in `each'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:586:in `each'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:62:in `from_io'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:579:in `open_from_io'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb:801:in `open_from_io'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:59:in `from_io'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/format.rb:47:in `from_file_by_path'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/installer.rb:62:in `install'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:444:in `install'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:258:in `execute'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:220:in `each'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:220:in `execute'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/command.rb:69:in `invoke'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:117:in `process_args'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:88:in `run'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:29:in `run'
C:/Ruby/bin/gem.bat:24
removing D:/Temp/open-uri.2524.0...done


The comments around line 613 in C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/package.rb look interesting and I'm curious about which version of zlib is installed on my machine:


C:\&gt; ruby -e 'require "zlib"; p Zlib::ZLIB_VERSION'
"1.2.3"


Odd. On the chance that something got corrupted while fetching the merb-0.0.7.gem file remotely, I manually downloaded the gem file and tried to install locally. Same errors as above. After some googling, things eventually got resolved by doing the following:


1. Download merb-0.0.7.gem

2. Rename merb-0.0.7.gem to merb-0.0.7.tar

3. Untar merb-0.0.7.tar using...
       tar -xvf merb-0.0.7.tar

4. Decompress the 2 files (data.tar.gz and metadata.gz) that were untarred using...
       gunzip *.gz

5. Compress the 2 files that were untarred using...
       gzip -9 data.tar metadata

6. Tar the 2 files (data.tar.gz and metadata.gz) using...
       tar -cf merb-0.0.7.gem *.gz
       
7. Install gem locally using...
       gem install -l merb-0.0.7.gem
       
Hope that helps others.

Ed</description>
      <pubDate>Sun, 03 Dec 2006 05:58:11 +0000</pubDate>
      <guid>urn:uuid:3db82de3-05fa-40e5-848c-a6e6644cc8ee</guid>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released#comment-3793</link>
    </item>
    <item>
      <title>"Merb 0.0.7 Released" by Lazyweb</title>
      <description>Dear Ezra,

Really looking forward to your Xen tutorial post!

Sincerely,
Lazyweb

;P</description>
      <pubDate>Thu, 30 Nov 2006 18:04:54 +0000</pubDate>
      <guid>urn:uuid:d3cf0393-c17c-42bd-beac-db6ba0b44c6d</guid>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released#comment-3783</link>
    </item>
    <item>
      <title>Merb 0.0.7 Released</title>
      <description>&lt;p&gt;I have just released Merb 0.0.7 as a gem. The docs are updated at:&lt;/p&gt;


	&lt;p&gt;&lt;a href='http://merb.rubyforge.org'&gt;http://merb.rubyforge.org&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;Here is the changelog:&lt;/p&gt;


&lt;pre&gt;
* added respond_to 
* added json POST body to be parsed into params 
* added configurable log level 
* added before filters. :symbols or Proc's 
* added :include and :exclude hashes to before filters. 
* merb cluster works better. pid files work with monit 
* added merb_drb_server 
* added drb session container 
* added support for mongrel_upload_progress 
* added nginx_send_file and send_file methods 
* improved dispatching speed. 
* keep mime parsing and route recorgnition out of mutex 
* only mutex around places that can call ActiveRecxord objects. 
* Improved memory profile with fastthread 
* uses fson if installed falls back to json 
* added basic auth module and filters. 
* changed default template extensions to .herb .jerb and .xerb for html, js and xml 
* added many helpers 
* add start of framework specs built with rspec
&lt;/pre&gt;

	&lt;p&gt;I hope to have some real tutorials RealSoon Now™. Enjoy!&lt;/p&gt;


	&lt;p&gt;&lt;a href='http://merb.rubyforge.org'&gt;Rdocs and &lt;span class="caps"&gt;README&lt;/span&gt;&lt;/a&gt;
&lt;a href='http://merb.devjavu.com'&gt;Merb Trac and tickets.&lt;/a&gt;
&lt;a href='http://svn.devjavu.com/merb'&gt;Merb svn repo&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 30 Nov 2006 03:44:00 +0000</pubDate>
      <guid>urn:uuid:f161121d-cfcf-47af-8dcd-e64c7e3e0c5e</guid>
      <author>ezmobius</author>
      <link>http://www.brainspl.at/articles/2006/11/30/merb-0-0-7-released</link>
      <category>merb</category>
      <category>mongrel</category>
      <category>server</category>
      <category>erb</category>
      <trackback:ping>http://www.brainspl.at/articles/trackback/3782</trackback:ping>
    </item>
  </channel>
</rss>

