You are currently browsing the tag archive for the 'gems' tag.
Has anyone seen my missing productivity?
The problem with code review jobs is that you can end up reviewing some pretty sad code.
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
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.
- iCHM - Nice-looking CHM reader for OS X. Unfortunately I’m not finding that its search works as well as that in Chamonix.
- REST, I Just Don’t Get It - Heretical musings from Damien Katz. The comments are well worth reading. Also worth reading is Dare Obasanjo’s Explaining REST to Damien Katz.
- Use MacVim and rails.vim plugin to edit your Rails work - An alternative if you don’t want to drink the TextMate koolaid.
- GitHub RubyGems - It really is dead simple to publish a gem via github.
- GemPlugins: A Brief Introduction to the Future of Rails Plugins - And it’s easy to convert an existing plugin to a gem, too.
- App Update - Dashboard widget to track software freshness on your Mac.
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.
- Managing Required Gems on Rails Projects - Check out the comments, too. Turns out there are a whole bunch of solutions. I must investigate.
- Cyndicate 1.2 - The web site isn’t updated yet, but version 1.2 is out. This continues to be my newsreader of choice for the Mac.
- Living on the edge (of Rails) #13 - Git script/plugin install, has_one :through - And other changes to edge Rails.
- markItUp! Universal markup editor - jQuery plugin to convert any texarea to a markup editor, in a variety of formats.
- Rapid Rails part 1: Command-line Mastery - A variety of tips to make your more productive in Rails-land.
- ADS Mantis Hosting - New alternative for managed Rails hosting.
Today I need to buckle down and churn out some code.
- Tutorial: Publishing RubyGems with Hoe - I had occasion to look at Hoe last night. This was a good starter.
- OStatic - New open source news site from GigaOm. Looks like I’ll be doing some writing there.
Another weekend of slinging Rails code - but I made the deadline.
- Gemedit - Gem to make it easy to edit the source code of other gems. Useful for learning.
- Developing Rails Applications on Mac OS X Leopard - Very basic article from the Apple Developer folks, but it does show how to use XCode for Rails development if you don’t have another preferred project editor.
- Howto use the Ext JS Treeview (Ext.tree) with Ruby on Rails - And with lazy loading, to boot.
- jQuery plugin: Treeview - Plugin for the jQuery JavaScript framework. Useful to me, since I just had to implement a treeview in a Rails project that was already using jQuery.

