Running OSX leopard and ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9.5.0] I've installed mechanize: *** LOCAL GEMS *** actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2) activeresource (2.3.2, 2.2.2) activesupport (2.3.2, 2.2.2) hpricot (0.8.1) mechanize (0.9.2) <--- nokogiri (1.2.3) <--- ... but it doesnt show up in in the gems directory: shoes_projects => cd /usr/lib/ruby/gems/1.8/gems gems => ls RedCloth-3.0.4 ferret-0.11.4 actionmailer-1.3.3 gem_plugin-0.2.2 actionmailer-1.3.6 gem_plugin-0.2.3 actionpack-1.13.3 highline-1.2.9 actionpack-1.13.6 hpricot-0.6 actionwebservice-1.2.3 libxml-ruby-0.3.8.4 actionwebservice-1.2.6 mongrel-1.0.1 activerecord-1.15.3 mongrel-1.1.4 activerecord-1.15.6 needle-1.3.0 activesupport-1.4.2 net-sftp-1.1.0 activesupport-1.4.4 net-ssh-1.1.2 acts_as_ferret-0.4.1 rails-1.2.3 capistrano-2.0.0 rails-1.2.6 cgi_multipart_eof_fix-2.2 rake-0.7.3 cgi_multipart_eof_fix-2.5.0 ruby-openid-1.1.4 daemons-1.0.7 ruby-yadis-0.3.4 daemons-1.0.9 rubynode-0.1.3 dnssd-0.6.0 sources-0.0.1 fastthread-1.0 sqlite3-ruby-1.2.1 fastthread-1.0.1 termios-0.9.4 fcgi-0.8.7 gems => Ultimately I'd like to get a Shoes GUI to include mechanize, but Shoes can't do the necessary require, because it can't find it. I'm wondering if this is why. Either way, I'd really like to know why mechanize is not in the gem directory. First time posting here. Any help is appreciated. And I'll clarify any questions. Thanks!
on 2009-05-18 22:59
on 2009-05-18 23:23
caleb banister wrote: > Ultimately I'd like to get a Shoes GUI to include mechanize, but Shoes > can't do the necessary require, because it can't find it. I'm wondering > if this is why. I think i found the answer to this part of my question in another thread: Shoes.setup do gem 'mechanize' end
on 2009-05-19 02:31
On Mon, May 18, 2009 at 9:23 PM, caleb banister <email@example.com> wrote: > I think i found the answer to this part of my question in another > thread: > > Shoes.setup do > gem 'mechanize' > end Since Shoes comes with its own Ruby distribution, it installs gems in a specific location (~/ .shoes/+gem/). See also: http://hackety.org/2008/05/08/clearingUpTheWholeSh...