require_gem is Deprecated #
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!)


 

why
Oh, so, the reason is: autorequire is dead. So
require_gembecame an inaccurate name. With thegemcommand, you’re not requiring anything. You’re just setting up the criteria for whenrequireis used.drbrain
require_gem still lives, it just complains.
shadytrees
Like many of the corpses in my backyard.
spicycode
require_gem was deprecated in the last release (0.9.0). i do enjoy the new
spicycode
the new commands that are available now. the deprecation warning is nice too :)
rluv
O man shadytrees. O man.
shadytrees
It’s always “bring me this” or “cook me that” or “turn up the thermostat.”
good
nice!