Ruby初心者スレッド Part 12
■ このスレッドは過去ログ倉庫に格納されています
0334326
2007/05/15(火) 19:53:35ruby 単体では、
C:\Program Files\ruby\bin>type test.rb
require 'net/http'
Net::HTTP.get_print 'www.ruby-lang.org', '/index.html'
C:\Program Files\ruby\bin>ruby test.rb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Oops! The page you were looking for could not be found.</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<style type="text/css">
# snip
のように、普通に動いています。
後、releaseにしてプロジェクトのプロパティを同じにしてビルドしてみたところ、
ruby が SEGV してしまいました。
■ このスレッドは過去ログ倉庫に格納されています