kubo / ruby-oci8

Ruby-oci8 - Oracle interface for ruby
Other
169 stars 75 forks source link

Cannot install ruby-oci8 together with ruby-2.0.0-preview2 32 bit #25

Closed aboltart closed 11 years ago

aboltart commented 11 years ago

I have Mac OS 10.8.2 I have Oracle Instant Client: 32-bit - 10.2.0.4.0 Using RVM I installed ruby-2.0.0-preview2 32 bit version

When I install ruby-oci8 I got following error: https://gist.github.com/4193407

All is fine if I use ruby 1.9.3-p327 32 bit

kubo commented 11 years ago

Thank you for your report. You can fix it as follows or use latest github master.

gem unpack ruby-oci8-2.1.3.gem
cd ruby-oci8-2.1.3 
vi ext/oci8/oraconf.rb    <-- add "# coding: ascii" at the top of the file.
gem build ruby-oci8.gemspec
gem install ./ruby-oci8-2.1.3.gem
aboltart commented 11 years ago

Thanks works fine