code:
Shoes.setup do gem 'mechanize' end require 'rubygems' require 'mechanize'
Sneakers on it read:
no such file to load -- mechanize
Thanks.
I did:
sudo gem install mechanize
and the following works:
Shoes.setup do gem 'mechanize' end require 'mechanize'
He says: “Build native extensions” and is taken forever, but seems to be the norm according to hackety.org .
rubygems required in front of any gemstones.
rubygems
require 'rubygems' require 'mechanize' Shoes.setup do gem 'mechanize' end
Source: https://habr.com/ru/post/1703214/More articles:Which Ruby on Rails image library should I use to create voice cards? - ruby | fooobar.comChecking the status of Caps Lock in Cocoa - cocoaDllImport vs LoadLibrary, what is the best way? - c #Creating an inherited Python type using PyCxx - pythonjcc.initVM () does not return when mod_wsgi is configured as daemon mode - pythonNetbeans has Print in HTML - is there a way to add this feature to Eclipse? - eclipseВозможно ли создать веб-приложение Java без использования фреймворка? - javawhen I start an asp.net project, I get: Internet Explorer cannot display a web page - asp.netCreating a Maze class in C ++ using a 16-bit unsigned int array? - c ++What is a free replication database? - databaseAll Articles