From: Christopher Frost Date: 2013-03-11T19:29:43+09:00 Subject: gem 'mechanize' in Ruby script Hi, I would like to know exactly how this snippets work in Ruby script. gem 'mechanize', '=1.0.0' require File.dirname(__FILE__) + "/logo.rb" require "rubygems" require "cashew" I can guess the lines (2~4) will require external ruby files. But the first line that is using "gem" is horrible thing to me. When this ruby file gets executed, 'mechanize' gem would be installed? Or you will have to install that gem beforehand? I would very appreciate if you can explain further details. Thanks in advance, Christopher -- Posted via http://www.ruby-forum.com/.