L
Lars Olsson
Hi all!
When using Rubygems, is there any *relevant* difference between using
require and require_gem (aside from the versioning possibilities)?
According to the docs require searches the standard library first. Is
this true for require_gem too, or does that method only search the gem
repository? Is is faster?
Example:
require 'rubygems'
# Is any of the two methods below "better" in any way?
require 'sqlite3'
# Or
require_gem 'sqlite3-ruby'
Kindly
/Lars
When using Rubygems, is there any *relevant* difference between using
require and require_gem (aside from the versioning possibilities)?
According to the docs require searches the standard library first. Is
this true for require_gem too, or does that method only search the gem
repository? Is is faster?
Example:
require 'rubygems'
# Is any of the two methods below "better" in any way?
require 'sqlite3'
# Or
require_gem 'sqlite3-ruby'
Kindly
/Lars