Skip to content
scottfwalter edited this page Jun 26, 2012 · 5 revisions

Welcome to the Reading-List-to-Instapaper wiki!

To install under Lion

Install GEMS:

 sudo gem install ruby_gntp  
 sudo gem install nokogiri-plist

Fix Permission Problems:

If you get this:/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- core_ext/string (LoadError)

 cd /Library/Ruby/Gems/1.8/gems/nokogiri-plist-0.5.0/lib/core_ext  
 sudo chmod o+r string.rb   #changes permission to read

Fix Growl Problem

If you have growl version less than 1.3 you will get connection refused messages to solve this you need to trap for the connection exception

begin
GNTP.notify({
  :app_name => "Instapaper",
  :title    => "Added to Instapaper",
  :text     => "Successfully added #{url}",
  :icon     => "http://www.instapaper.com/apple-touch-icon.png",
})
rescue

and

begin
GNTP.notify({
  :app_name => "Instapaper",
  :title    => "Error Adding to Instapaper",
  :text     => "Could not add #{url}",
  :icon     => "http://www.instapaper.com/apple-touch-icon.png",
})
rescue Errno::ECONNREFUSED
end
Clone this wiki locally