Created
January 12, 2010 16:55
-
-
Save oki/275365 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Error in application | |
| FFI::NotFoundError - Function '__xmlParserVersion' not found in [msvcrt] | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared/ffi/ffi.rb:113:in `create_i | |
| nvoker' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared/ffi/library.rb:74:in `attac | |
| h_function' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared/ffi/library.rb:72:in `each' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared/ffi/library.rb:72:in `attac | |
| h_function' | |
| lib/ruby/nokogiri/lib/nokogiri/ffi/libxml.rb:17:in `require' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: | |
| in `require' | |
| lib/ruby/nokogiri/lib/nokogiri.rb:11:in `require' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: | |
| in `require' | |
| lib/ruby/mechanize/lib/www/mechanize.rb:9:in `require' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: | |
| in `require' | |
| lib/ruby/mechanize/lib/mechanize.rb:7:in `require' | |
| file:/C:/Documents and Settings/michal/Desktop/monkeybars/lib/java/jruby-complet | |
| e.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: | |
| in `require' | |
| lib/ruby/facebook/lib/facebook/bot.rb:3:in `require' | |
| lib/ruby/facebook/lib/facebook.rb:1:in `require' | |
| src/greeter/greeter_controller.rb:2:in `require' | |
| src/main.rb:53:in `require' | |
| <script>:1 |
This file contains hidden or 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
| $ gem list | |
| *** LOCAL GEMS *** | |
| mechanize (0.9.3) | |
| nokogiri (1.4.1) | |
| rake (0.8.7) | |
| rspec (1.2.9) | |
| sources (0.0.1) | |
| $ jruby -v | |
| jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) C | |
| lient VM 1.6.0_17) [x86-java] | |
| michal@oki ~/Desktop/monkeybars | |
| $ gem -v | |
| 1.3.5 | |
| michal@oki ~/Desktop/monkeybars | |
| $ uname -a | |
| CYGWIN_NT-5.1 oki 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin | |
| $ jirb | |
| irb(main):001:0> require 'rubygems' | |
| => true | |
| irb(main):002:0> require 'mechanize' | |
| JRuby limited openssl loaded. gem install jruby-openssl for full support. | |
| http://jruby.kenai.com/pages/JRuby_Builtin_OpenSSL | |
| => true | |
| irb(main):003:0> agent = WWW::Mechanize.new | |
| => #<WWW::Mechanize:0x1f82253 @user=nil, @pass=nil, @conditional_requests=true, | |
| @read_timeout=nil, @proxy_port=nil, @redirect_ok=true, @connection_cache={}, @pr | |
| oxy_user=nil, @watch_for_set=nil, @proxy_pass=nil, @redirection_limit=20, @open_ | |
| timeout=nil, @key=nil, @digest=nil, @request_headers={}, @log=nil, @password=nil | |
| , @history_added=nil, @auth_hash={}, @pluggable_parser=#<WWW::Mechanize::Pluggab | |
| leParser:0x1957a34 @default=WWW::Mechanize::File, @parsers={"text/html"=>WWW::Me | |
| chanize::Page, "application/xhtml+xml"=>WWW::Mechanize::Page, "application/vnd.w | |
| ap.xhtml+xml"=>WWW::Mechanize::Page}>, @scheme_handlers={"http"=>#<Proc:0x19be6e | |
| e@C:/Program Files/jruby-1.4.0/lib/ruby/gems/1.8/gems/mechanize-0.9.3/lib/www/me | |
| chanize.rb:152>, "https"=>#<Proc:0x19be6ee@C:/Program Files/jruby-1.4.0/lib/ruby | |
| /gems/1.8/gems/mechanize-0.9.3/lib/www/mechanize.rb:152>, "relative"=>#<Proc:0x1 | |
| 9be6ee@C:/Program Files/jruby-1.4.0/lib/ruby/gems/1.8/gems/mechanize-0.9.3/lib/w | |
| ww/mechanize.rb:152>, "file"=>#<Proc:0x19be6ee@C:/Program Files/jruby-1.4.0/lib/ | |
| ruby/gems/1.8/gems/mechanize-0.9.3/lib/www/mechanize.rb:152>}, @follow_meta_refr | |
| esh=false, @html_parser=Nokogiri::HTML, @user_agent="WWW-Mechanize/0.9.3 (http:/ | |
| /rubyforge.org/projects/mechanize/)", @pre_connect_hook=#<WWW::Mechanize::Chain: | |
| :PreConnectHook:0x56182f @hooks=[]>, @post_connect_hook=#<WWW::Mechanize::Chain: | |
| :PostConnectHook:0x4de3fe @hooks=[]>, @verify_callback=nil, @history=[], @keep_a | |
| live=true, @ca_file=nil, @cert=nil, @proxy_addr=nil, @keep_alive_time=300, @cook | |
| ie_jar=#<WWW::Mechanize::CookieJar:0x1b35ece @jar={}>> | |
| irb(main):004:0> page = agent.get('http://jruby.org') | |
| => #<WWW::Mechanize::Page | |
| {url #<URI::HTTP:0x16a23cf URL:http://jruby.org/>} | |
| {meta} | |
| {title "JRuby.org :: Home"} | |
| {iframes} | |
| {frames} | |
| {links | |
| #<WWW::Mechanize::Page::Link "Home" "/"> | |
| #<WWW::Mechanize::Page::Link "News" "/news"> | |
| #<WWW::Mechanize::Page::Link "Download" "/download"> | |
| #<WWW::Mechanize::Page::Link "Getting Started" "/getting-started"> | |
| #<WWW::Mechanize::Page::Link "Community" "/community"> | |
| #<WWW::Mechanize::Page::Link "Documentation" "/documentation"> | |
| #<WWW::Mechanize::Page::Link "Security" "/security"> | |
| #<WWW::Mechanize::Page::Link "Contribute" "/contribute"> | |
| #<WWW::Mechanize::Page::Link "View Release Notes" "/download"> | |
| #<WWW::Mechanize::Page::Link | |
| "tar" | |
| "http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.tar.gz"> | |
| #<WWW::Mechanize::Page::Link | |
| "zip" | |
| "http://jruby.kenai.com/downloads/1.4.0/jruby-bin-1.4.0.zip"> | |
| #<WWW::Mechanize::Page::Link | |
| "exe" | |
| "http://jruby.kenai.com/downloads/1.4.0/jruby_windows_1_4_0.exe"> | |
| #<WWW::Mechanize::Page::Link | |
| "exe+jre" | |
| "http://jruby.kenai.com/downloads/1.4.0/jruby_windowsjre_1_4_0.exe"> | |
| #<WWW::Mechanize::Page::Link "" "/download"> | |
| #<WWW::Mechanize::Page::Link "Download JRuby" "/download"> | |
| #<WWW::Mechanize::Page::Link "detailed instructions" "/getting-started"> | |
| #<WWW::Mechanize::Page::Link | |
| "\n JRuby Wiki\n " | |
| "http://kenai.com/projects/jruby/pages/Home"> | |
| #<WWW::Mechanize::Page::Link | |
| "\n JRuby Blogs\n " | |
| "/blogs"> | |
| #<WWW::Mechanize::Page::Link | |
| "\n JavaDocs and RDocs\n " | |
| "documentation"> | |
| #<WWW::Mechanize::Page::Link | |
| "Source Repo " | |
| "http://kenai.com/projects/jruby/sources/main/show"> | |
| #<WWW::Mechanize::Page::Link | |
| "Join the Mailing Lists " | |
| "http://kenai.com/projects/jruby/pages/MailingLists"> | |
| #<WWW::Mechanize::Page::Link | |
| "Issue Tracker " | |
| "http://jira.codehaus.org/browse/JRUBY"> | |
| #<WWW::Mechanize::Page::Link | |
| "(#jruby) irc.freenode.net" | |
| "http://kenai.com/projects/jruby/pages/IRC"> | |
| #<WWW::Mechanize::Page::Link "" "/atom.xml"> | |
| #<WWW::Mechanize::Page::Link | |
| "JRuby BugMash!" | |
| "/2010/01/05/jruby-bugmash.html"> | |
| #<WWW::Mechanize::Page::Link "more..." "/2010/01/05/jruby-bugmash.html"> | |
| #<WWW::Mechanize::Page::Link "" "#"> | |
| #<WWW::Mechanize::Page::Link | |
| "follow us on Twitter" | |
| "http://twitter.com/jruby">} | |
| {forms}> | |
| irb(main):005:0> page.search('p').length | |
| => 12 | |
| irb(main):006:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment