# Ruby-oci8 1.0.1

**URL:** <https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983>\
**Category:** Ruby\
**Created:** [April 27, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983 "2008-04-27T15:59:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kubo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8edcca/32.png) [@kubo](https://www.ruby-forum.com/u/kubo)\
**Post date:** [April 27, 2008, 3:59pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983/1 "2008-04-27T15:59:19Z")

</div>

ruby-oci8 1.0.1 is released. This is a Oracle module using OCI8 API.

[http://rubyforge.org/projects/ruby-oci8/](http://rubyforge.org/projects/ruby-oci8/)

ruby-oci8-unstalbe 2.0-svn-262 is also released.  
This will be ruby-oci8 2.0 in future. Many features are added.  
Some of them are contributed by Oracle Corporation.  
Excuse me for not writing changes between 1.0 and 2.0.

What’s new in ruby-oci8 1.0.1.

1. [SPEC CHANGE] OCI8#exec and OCI8::Cursor#exec’s return value is  
changed  
for statement except select, insert, update and delete statement.

2. fix a bug that OraDate.new made a core dump on x86\_64 linux.  
(reported by Alun Eyre)

3. fix OCI8#non\_blocking = false problem.  
Once the connection became non-bocking mode, it could  
not be reset to blocking mode. Now it can be reset.  
(reported by Cagdas Gerede)

4. support cursors in a result set.  
(contributed by Randy Gordon)

5. fix oraconf.rb for official x86\_64 linux rpms.  
(contributed by Pat)

---

<div class="post-metadata">

**Author:** ![kubo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8edcca/32.png) [@kubo](https://www.ruby-forum.com/u/kubo)\
**Post date:** [April 28, 2008, 5:19am UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983/2 "2008-04-28T05:19:25Z")

</div>

Thanks Kubo.

1. fix oraconf.rb for official x86\_64 linux rpms.

> (contributed by Pat)

And is the official i386/x86\_64 linux Ruby-OCI8 rpms available?

2008/4/27 KUBO Takehiro [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![kubo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8edcca/32.png) [@kubo](https://www.ruby-forum.com/u/kubo)\
**Post date:** [April 28, 2008, 6:51am UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983/3 "2008-04-28T06:51:49Z")

</div>

Hi Jesse,

On Mon, Apr 28, 2008 at 12:18 PM, Jesse Hu [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> And is the official i386/x86\_64 linux Ruby-OCI8 rpms available?

No. I don’t know how to make binary gems for mswin32.  
Is there any article which explains the way?

---

<div class="post-metadata">

**Author:** ![kubo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8edcca/32.png) [@kubo](https://www.ruby-forum.com/u/kubo)\
**Post date:** [April 28, 2008, 12:54pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983/4 "2008-04-28T12:54:45Z")

</div>

Hi,

On Mon, Apr 28, 2008 at 1:51 PM, KUBO Takehiro [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi Jesse,
> 
> On Mon, Apr 28, 2008 at 12:18 PM, Jesse Hu [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > And is the official i386/x86\_64 linux Ruby-OCI8 rpms available?
> 
> No. I don’t know how to make binary gems for mswin32.

I misread ‘rpms’ as ‘gems’. But same answer.  
No official ruby-oci8 rpms will be made because the compiled binary  
may not work on other distributions and with different oracle versions.  
It is a task of distributor’s package managers.

> > 1. fix oraconf.rb for official x86\_64 linux rpms.  
> > (contributed by Pat)

This means “official x86\_64 linux instant client rpms.”

---

<div class="post-metadata">

**Author:** ![kubo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8edcca/32.png) [@kubo](https://www.ruby-forum.com/u/kubo)\
**Post date:** [April 29, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/ruby-oci8-1-0-1/135983/5 "2008-04-29T17:15:50Z")

</div>

On 4/27/08, KUBO Takehiro [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi Jesse,
> 
> On Mon, Apr 28, 2008 at 12:18 PM, Jesse Hu [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > And is the official i386/x86\_64 linux Ruby-OCI8 rpms available?
> 
> No. I don’t know how to make binary gems for mswin32.  
> Is there any article which explains the way?

Here it is what I do. If anyone have a better procedure, I’d like to  
know.

I use a Rakefile for building gems:

> <https://github.com/santana/ruby-informix/blob/master/Rakefile>

But when building a binary gem, I need to add

s.platform = Gem::Platform::CURRENT

to the gemspec, which adds the platform name to the name of the gem. I  
also add the shared object to the list of files.

Finally I build the extension and run rake package to create the  
distribution files.
