You are currently browsing the tag archive for the 'gems' tag.

Has anyone seen my missing productivity?

  • Ruby-Locale - Localization library that works with the Rails 2.2 i18n bits.
  • Ruby on Rails Online Class - For real college credit, even. Starting in February, cheap if you’re a California resident.
  • RubyGem is from Mars, AptGet is from Venus - One of the more sensible pieces I’ve seen on gems vs. Debian.
  • PoolParty - Software for configuring and managing computing clouds with a feel similar to Capistrano.
  • jCquard - JavaScript library to manage 80-column punch cards.
  • The problem with code review jobs is that you can end up reviewing some pretty sad code.

  • newgem 1.0.0 all thanks to Cucumber - Dr. Nic revises his gem generation tool with lots of new features.
  • There’s a mismatch between the most recent Rails releases (2.1.2 and 2.2RC1) and older versions of RubyGems. Judging by what I’ve seen in various discussion fora, this is well on the way to being a FAQ. It’s made more fun by the facts that

  • The error message doesn’t implicate RubyGems
  • You may think you’re up-to-date on RubyGems when you’re not
  • If you’re affected, you’ll see this message when you try to run script/generate in a Rails application:

    
    undefined method empty?' for /_generator$/:Regexp
    

    If you see this, don’t panic. It just means you need a newer RubyGems release. I’m not sure how current you need to be, but 1.1.1 is definitely too old. As I write this, 1.3.0 is current.

    Now, in theory, to update to the latest version of RubyGems, you just need to run

    
    sudo gem update --system
    

    But - depending on what version of RubyGems you have installed, running that command may lie and tell you that you have nothing to update. If you’re currently on RubyGems 1.1 or 1.2, you need to run a different set of commands to update RubyGems:

    
    sudo gem install rubygems-update
    sudo update_rubygems
    

    You can check your current RubyGems version with

    
    gem -v
    

    If it reports 1.3.0 or later, you should be good to use the recent Rails releases.

    Shaping up to be another busy week; fortunately the weekend was good for catching up this time.

    Nobody’s interested in doing a bit of sysadmin work on the side, eh? I’m not surprised, I don’t like it much myself.

    • RubyGems 1.2.0 - Unfortunately this new update won’t install on my system, which probably means that I’ve terminally hosed something and should start thinking about a rebuild again.
    • The Big Ruby Vulnerabilities - Wondering about the mysterious patches to Ruby recently? Zed Shaw comes to your aid with some revealing diffs.
    • Rails-doc - Yet another Rails API site. This one claims to be better than all the rest. We’ll see.

    And now I get to become an instant Liquid expert. I’ve got the greatest clients.

    Today I need to buckle down and churn out some code.

    Another weekend of slinging Rails code - but I made the deadline.