hoodwink.d enhanced


require_gem is Deprecated #

by why in bits

The require_gem command is gone. It’s just gem now. (RubyGems and later.)

 require 'rubygems'
 gem 'camping', '=1.5'
 require 'camping'

To try out the latest beta gem:

  gem update --system --source http://onestepback.org/betagems

(Thanks 1vy!)

said on 27 Dec 2006 at 13:27

Oh, so, the reason is: autorequire is dead. So require_gem became an inaccurate name. With the gem command, you’re not requiring anything. You’re just setting up the criteria for when require is used.

said on 27 Dec 2006 at 14:05

require_gem still lives, it just complains.

said on 27 Dec 2006 at 15:41

Like many of the corpses in my backyard.

said on 27 Dec 2006 at 18:50

require_gem was deprecated in the last release (0.9.0). i do enjoy the new

said on 27 Dec 2006 at 18:51

the new commands that are available now. the deprecation warning is nice too :)

said on 27 Dec 2006 at 18:53

O man shadytrees. O man.

said on 29 Dec 2006 at 13:08

It’s always “bring me this” or “cook me that” or “turn up the thermostat.”

said on 07 Jan 2007 at 17:47


11 Jul 2010 at 20:53

* do fancy stuff in your comment.