Created
August 26, 2008 15:10
-
-
Save kana/7274 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'highline/import' | |
require 'mechanize' | |
agent = WWW::Mechanize.new | |
login_page = agent.get 'http://www.vim.org/login.php' | |
_ = ask 'user' | |
pp _ | |
__END__ | |
/opt/local/lib/ruby/gems/1.8/gems/highline-1.4.0/lib/highline.rb:593:in `get_line': The input stream is exhausted. (EOFError) | |
from /opt/local/lib/ruby/gems/1.8/gems/highline-1.4.0/lib/highline.rb:614:in `get_response' | |
from /opt/local/lib/ruby/gems/1.8/gems/highline-1.4.0/lib/highline.rb:213:in `ask' | |
from highline-mechanize-problem.rb:7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment