[ruby-oci8-commit] [319] web: * hiki_data/(en|ja)/text/PlatformSpecificIssue:

nobody at rubyforge.org nobody at rubyforge.org
Sun Feb 8 08:28:58 EST 2009


Revision: 319
Author:   kubo
Date:     2009-02-08 08:28:56 -0500 (Sun, 08 Feb 2009)

Log Message:
-----------
* hiki_data/(en|ja)/text/PlatformSpecificIssue:
    update Mac OS X information.
* hiki_data/(en|ja)/text/FrontPage:
    delete notice that ruby-oci8 doen't work with ruby-dbi 0.4.
* hiki_data/en/text/News2_0, hiki_data/en/text/SideMenu:
    add 'News in 2.0.'

Modified Paths:
--------------
    web/ChangeLog
    web/hiki_data/en/info.db
    web/hiki_data/en/text/FrontPage
    web/hiki_data/en/text/PlatformSpecificIssue
    web/hiki_data/en/text/SideMenu
    web/hiki_data/ja/info.db
    web/hiki_data/ja/text/FrontPage
    web/hiki_data/ja/text/PlatformSpecificIssue

Modified: web/ChangeLog
===================================================================
--- web/ChangeLog	2009-02-08 12:35:36 UTC (rev 318)
+++ web/ChangeLog	2009-02-08 13:28:56 UTC (rev 319)
@@ -1,3 +1,11 @@
+2009-02-08  KUBO Takehiro  <kubo at jiubao.org>
+	* hiki_data/(en|ja)/text/PlatformSpecificIssue:
+	    update Mac OS X information.
+	* hiki_data/(en|ja)/text/FrontPage:
+	    delete notice that ruby-oci8 doen't work with ruby-dbi 0.4.
+	* hiki_data/en/text/News2_0, hiki_data/en/text/SideMenu:
+	    add 'News in 2.0.'
+
 2009-02-01  KUBO Takehiro  <kubo at jiubao.org>
 	* hiki_data/en/text/PlatformSpecificIssue, hiki_data/ja/text/PlatformSpecificIssue
 	    update Mac OS X and FreeBSD information.

Modified: web/hiki_data/en/info.db
===================================================================
--- web/hiki_data/en/info.db	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/en/info.db	2009-02-08 13:28:56 UTC (rev 319)
@@ -64,7 +64,7 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1229180402),
+:last_modified => Time.at(1234098068),
 :references => [
 "InstallForInstantClient",
 ],
@@ -130,13 +130,24 @@
 ],
 :title => "InterWikiName",
 },
+"News2_0" => {
+:count => 0,
+:editor => nil,
+:freeze => false,
+:keyword => [
+],
+:last_modified => Time.at(1234099345),
+:references => [
+],
+:title => "News in 2.0",
+},
 "PlatformSpecificIssue" => {
 :count => 60,
 :editor => nil,
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1233498784),
+:last_modified => Time.at(1234097653),
 :references => [
 "InstallForFullClient",
 ],
@@ -160,9 +171,10 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1224421827),
+:last_modified => Time.at(1234098412),
 :references => [
 "FrontPage",
+"News2_0",
 "HowToInstall",
 "InstallBinaryPackage",
 "InstallForFullClient",

Modified: web/hiki_data/en/text/FrontPage
===================================================================
--- web/hiki_data/en/text/FrontPage	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/en/text/FrontPage	2009-02-08 13:28:56 UTC (rev 319)
@@ -7,8 +7,6 @@
 
 As for Oracle7, use [[Oracle7 Module for Ruby]] by Yoshida Masato.
 
-'''NOTICE -- ruby-oci8 doesn't work with ruby-dbi 0.4.x. ruby-oci8 supports ruby-dbi 0.2.2 or lower.'''
-
 ! Sample one-liner
 connect to scott/tiger, select emp and print as CSV format.
   ruby -r oci8 -e "OCI8.new('scott', 'tiger').exec('select * from emp') do |r| puts r.join(','); end"

Modified: web/hiki_data/en/text/PlatformSpecificIssue
===================================================================
--- web/hiki_data/en/text/PlatformSpecificIssue	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/en/text/PlatformSpecificIssue	2009-02-08 13:28:56 UTC (rev 319)
@@ -1,9 +1,16 @@
-! Intel Mac
+! Mac OS X
 
-The Intel Instant client needs Mac OS X 10.5 Leopard.
-There are two workarounds to work on 10.4 Tiger.
-# compile ruby as ppc. (look at [[Raimonds Simanovskis's blog|http://blog.rayapps.com/2007/08/27/how-to-setup-ruby-and-oracle-client-on-intel-mac/]])
+You need to delete '-arch ppc' or '-arch i386' in rbconfig.rb because
+the ruby distributed with Mac is universal binary but the Oracle instant
+client is not.
+See: [[How to setup Ruby and new Oracle Instant Client on Leopard|http://blog.rayapps.com/2008/04/24/how-to-setup-ruby-and-new-oracle-instant-client-on-leopard/]].
+(PowerPC mac users need to swap ppc and i386 in the blog.)
+
+The Intel Instant client is for Mac OS X 10.5 Leopard. If you are using 10.4 Tiger,
+use one of the following workarounds.
+# compile ruby as ppc. (look at [[How to setup Ruby and Oracle client on Intel Mac|http://blog.rayapps.com/2007/08/27/how-to-setup-ruby-and-oracle-client-on-intel-mac/]])
 # use [[ruby-odbc|http://www.ch-werner.de/rubyodbc/]] and a third party ODBC driver ([[Actual Technologies|http://www.actualtechnologies.com/]] or [[OpenLink Software|http://uda.openlinksw.com/]]).
+# use JRuby and Oracle JDBC driver.
 
 ! Solaris
 

Modified: web/hiki_data/en/text/SideMenu
===================================================================
--- web/hiki_data/en/text/SideMenu	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/en/text/SideMenu	2009-02-08 13:28:56 UTC (rev 319)
@@ -8,6 +8,9 @@
 
 !! [[FrontPage]]
 
+!! News
+* [[News2_0]]
+
 !! Install and Setup
 * [[HowToInstall]]
 ** [[InstallBinaryPackage]]

Modified: web/hiki_data/ja/info.db
===================================================================
--- web/hiki_data/ja/info.db	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/ja/info.db	2009-02-08 13:28:56 UTC (rev 319)
@@ -63,7 +63,7 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1229179773),
+:last_modified => Time.at(1234098048),
 :references => [
 "InstallForInstantClient",
 ],
@@ -135,7 +135,7 @@
 :freeze => false,
 :keyword => [
 ],
-:last_modified => Time.at(1233498959),
+:last_modified => Time.at(1234097682),
 :references => [
 "InstallForFullClient",
 ],

Modified: web/hiki_data/ja/text/FrontPage
===================================================================
--- web/hiki_data/ja/text/FrontPage	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/ja/text/FrontPage	2009-02-08 13:28:56 UTC (rev 319)
@@ -7,8 +7,6 @@
 
 Oracle7 を使用している場合は、吉田正人さんの[[Oracle7 Module for Ruby]]を使ってください。
 
-'''注意: ruby-oci8 と ruby-dbi 0.4.x の組み合わせでは動きません。dbd を使うときは ruby-dbi 0.2.2 を使用してください。'''
-
 ! One-liner のサンプル
 
 scott/tiger で接続して、emp テーブルを select して、CSV 形式で出力する。

Modified: web/hiki_data/ja/text/PlatformSpecificIssue
===================================================================
--- web/hiki_data/ja/text/PlatformSpecificIssue	2009-02-08 12:35:36 UTC (rev 318)
+++ web/hiki_data/ja/text/PlatformSpecificIssue	2009-02-08 13:28:56 UTC (rev 319)
@@ -1,12 +1,19 @@
-! Intel Mac
+! Mac OS X
 
 (日本のサイトには Mac OS X 用の instant client はないようです、
 [[英語のサイト|http://www.oracle.com/technology/tech/oci/instantclient/index.html]]にあります。)
 
-Intel 版 instant client は Mac OS X 10.5 Leopard 用です。
-10.4 Tiger で動かすには、以下の2つの回避策があります。
-* ruby を ppc としてコンパイルする。([[Raimonds Simanovskisさんのblog|http://blog.rayapps.com/2007/08/27/how-to-setup-ruby-and-oracle-client-on-intel-mac/]] を参照)
+rbconfig.rb から '-arch ppc' または、'-arch i386' を削除してください。
+というのも、Mac 付属の ruby は Universal binary ですが、Oracle instant
+client は Universal binary ではないためです。
+[[How to setup Ruby and new Oracle Instant Client on Leopard|http://blog.rayapps.com/2008/04/24/how-to-setup-ruby-and-new-oracle-instant-client-on-leopard/]] を見てください。
+(PowerPC mac のユーザーは、ブログ中の ppc と i386 を入れ替えてください。)
+
+Intel 版の Instant client は Mac OS X 10.5 Leopard 用です。10.4 Tiger を使用
+している場合は、以下の回避策のどれかを使用してください。
+# ruby を ppc としてコンパイルする。([[How to setup Ruby and Oracle client on Intel Mac|http://blog.rayapps.com/2007/08/27/how-to-setup-ruby-and-oracle-client-on-intel-mac/]] を参照)
 * [[ruby-odbc|http://www.ch-werner.de/rubyodbc/]]とサードパーティのODBCドライバ([[Actual Technologies|http://www.actualtechnologies.com/]] または [[OpenLink Software|http://uda.openlinksw.com/]])を使用する。
+# JRuby と Oracle JDBC driver を使用する。
 
 ! Solaris
 




More information about the ruby-oci8-commit mailing list