-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gem installing on cygwin but then not available #176
Comments
Sorry, the real error message was hidden by the LoadError in First of all, could you run sqlplus? If you have not installed it, install it to c:\Oracle\instantclient_12_2 in advance. begin
require so_basename
rescue LoadError, OCIError
# require 'oci8/check_load_error' <- Comment this line
# OCI8::Util::check_load_error($!) <- Comment this line also
raise
ensure
dll_dir.remove if dll_dir
end |
Thankyou for the reply. I am only able to work on this on Monday and
Friday. I will try this on Friday. I think I have installed sqlplus correctly so I will check that too.
…On 16 October 2017 at 22:15, Kubo Takehiro ***@***.***> wrote:
Sorry, the real error message was hidden by the LoadError in
check_load_error.rb.
First of all, could you run sqlplus? If you have not installed it, install
it to c:\Oracle\instantclient_12_2 in advance.
If sqlplus works, could you change /home/pain-p/.gem/ruby/2.3.0/
gems/ruby-oci8-2.2.4.1/lib/oci8.rb as follows and try again to get the
real error message?
begin
require so_basenamerescue LoadError, OCIError# require 'oci8/check_load_error' <- Comment this line# OCI8::Util::check_load_error($!) <- Comment this line also
raiseensure
dll_dir.remove if dll_dirend
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#176 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAdzoFX3wBvu9wsQ3Q-oNItCjiF26iNxks5sszrNgaJpZM4P6I3G>
.
|
OK. Could you check whether "Microsoft Visual C++ 2013 Redistributable Package" is installed on your machine on Friday? Oracle client 12.2 depends on it. |
Will do. I’m fairly sure it isn’t.
…On Mon, 16 Oct 2017 at 10:23 pm, Kubo Takehiro ***@***.***> wrote:
OK.
Could you check whether "Microsoft Visual C++ 2013 Redistributable
Package" is installed on your machine on Friday? Oracle client 12.2 depends
on it.
http://www.rubydoc.info/github/kubo/ruby-oci8/file/docs/install-instant-client.md#Windows
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#176 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAdzoAfnsLIUJS2PYh7_b5szeOw8KxEUks5sszzOgaJpZM4P6I3G>
.
|
…o'" on cygwin 2.8 or later. (related to github issue #176)
Microsoft Visual C++ 2013 Redistributable Package was not installed so I have now done this. I do not seem to be able to get sqlplus to run. When I run it from the command line I get
If I make the changes to
But I'm not sure this is helpful if sqlplus is not running. If it is of any help, this machine has had a version of Oracle Instant Client (11.2) installed on it previously. Could this be causing conflicts? |
Oracle instant client 12.2 doesn't work on Windows Server 2008. |
Thankyou! I had actually realised that after thinking the error through while you were sending the message. |
Sorry, this is more of a support request, but maybe there is an issue.
I am trying to deploy a Rails 5 app on Cygwin on a Windows Server 2008 machine.
I have been able to install the latest ruby-oci8 gem (2.2.4.1) but when I run
ruby -e 'require "OCI8"'
I get the following output
Is this just a PATH issue? My current PATH is
/home/pain-p/perl5/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Oracle/instantclient_12_2:/cygdrive/c/Program Files/FileMaker/FileMaker Server/Web Publishing/publishing-engine/php:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Windows Imaging:/cygdrive/c/Ruby192/bin
The text was updated successfully, but these errors were encountered: