Shoes and Gems and how to get them working.
Posted
by
Pselus
on Stack Overflow
See other posts from Stack Overflow
or by Pselus
Published on 2011-01-02T17:50:06Z
Indexed on
2011/01/02
17:53 UTC
Read the original article
Hit count: 289
I have seen this question asked all over the internet and answered in many different ways. None of them seem to be working for me.
I am trying to get Gems to work in Shoes (specifically the gem Mechanize).
Whenever I use the code:
Shoes.setup do
gem 'mechanize'
end
require 'mechanize'
It gives me the popup that says it is installing native extensions and sits at that screen for 30 minutes and longer (I've only ever waited as long as 30 minutes).
I have seen people say that you should be putting the .gem files in ~/.shoes/+gem/gem (on OS X) but that hasn't worked for me. Neither has putting the source code for the gem there.
On another odd note, both the gems RedCloth and Nokogiri come with Shoes...but using the above code for them gets me No such file to load
errors for both of them.
Anyone have any expertise in this area and can help me out?
© Stack Overflow or respective owner