« What Can You Build in 600 Lines of Code? | Main | Zeitplan die Zweite »

uninitialized constant Gem::GemRunner

Wollte vorhin einen rake rails:freeze:gems durchführen und bekam diese Fehlermeldung:

uninitialized constant Gem::GemRunner

Nach einer kurzen Suche habe ich herausgefunden das 'gem_runner' ab gem-Version >= 0.9.5 nicht mehr automatisch in der framework.rake-Datei eingebunden wird. Also einfach die framework.rake anpassen - hat zumindest bei mir geholfen - :

Aus require 'rubygems' wird:

require 'rubygems'
require 'rubygems/gem_runner

Meine Umgebung:

gem-Version: 1.0.0
Rails-Version: 2.0.1
Rake-Version: 0.8.1

TrackBack

TrackBack URL for this entry:
http://www.innoq.com/movabletype/mt-tb.cgi/2989

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on January 27, 2008 8:25 PM.

The previous post in this blog was What Can You Build in 600 Lines of Code?.

The next post in this blog is Zeitplan die Zweite.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31