Zouplaz wrote:
> 2) require_gem puts a warning (use gem instead), and using gem
> 'ruby-breakpoint' makes breakpoint command to be unknown :
> undefined local variable or method `breakpoint' for main:Object 
> (NameError)

require_gem is obsolete and didn't do what you think it did. It was not 
a synonym for "require", it was a way to specify that you want a 
specific version of a gem, which is what the "gem" method does now. In 
the past "require_gem" could have the side-effect of actually requiring 
the gem, but the "gem" method does not have that side-effect.

To require a gem, use "require". Nothing else.
-- 
Posted via http://www.ruby-forum.com/.