hoodwink.d enhanced
RSS
2.0
XHTML
1.0

RedHanded

require_gem is Deprecated #

by why in bits

The require_gem command is gone. It’s just gem now. (RubyGems 0.9.0.8 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

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

require_gem still lives, it just complains.

said on

Like many of the corpses in my backyard.

said on

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

said on

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

said on

O man shadytrees. O man.

said on

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

said on

nice!

said on DD Mon YYYY at HH:MM

* do fancy stuff in your comment.

PREVIEW PANE