require 'rubygems'
require 'nokogiri'
#require 'mechanize'
system "ruby -v"
puts RUBY_DESCRIPTION
输出:
`/Users/lht/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin12.0.0]
这是神马情况啊,我在终端执行就一切正常。。。