Samuel Sternhagen wrote:
> I would like to access a https page from irb
> 
> "https://www.etsy.com/oauth/signin?oauth_consumer_key=aaa&oauth_token=bbb"
> 
> I have been unable to find an example to do this that works.
> 
> Is there a good resource on how to do this with Ruby Net::HTTP ?

What platform are you on?

If it's Ubuntu or Debian, note that you will be missing lib/net/https.rb 
unless you install the libopenssl-ruby package.

From Lucid onwards you can install "ruby-full" which consolidates all 
the shrapnel (see below). Note that this will also install emacs as a 
dependency unless you do:

  sudo apt-get install --no-install-recommends ruby-full

Regards,

Brian.

$ apt-cache show ruby-full
Package: ruby-full
Priority: optional
Section: universe/interpreters
Installed-Size: 32
Maintainer: Ubuntu Core Developers 
<ubuntu-devel-discuss / lists.ubuntu.com>
Original-Maintainer: Fumitoshi UKAI <ukai / debian.or.jp>
Architecture: all
Source: ruby-defaults
Version: 4.2
Depends: irb, libdbm-ruby, libgdbm-ruby, libopenssl-ruby, 
libreadline-ruby, rdoc, ri, ruby, ruby1.8-dev
Recommends: libtcltk-ruby, ruby-elisp
Filename: pool/universe/r/ruby-defaults/ruby-full_4.2_all.deb
Size: 2580
MD5sum: 2124a3d52a2300057e6b2662f770f6d7
SHA1: 6701dd3238dd1a0657c66ff8a98336bf77426f75
SHA256: 0d4c64bc60717dd27a2d6769b7dbbc0d0f0e65ca6bc2f6bc30c496bbb50380a6
Description: Ruby full installation
 For many good reasons, the Ruby programming language is split in many
 small different packages. Installing this package will make sure you 
have
 all the packages that add up to a full Ruby installation, with the 
exception
 of the Tcl/Tk bindings for Ruby, which are only recommended.
 .
 This package installs the dependencies for the current stable
 version of Ruby, which is 1.8.
Homepage: http://www.ruby-lang.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
-- 
Posted via http://www.ruby-forum.com/.