Forum: Ruby on Rails Is there any RAILS DUDE to HELP me out kick this problem?

Posted by rails r. (rails_r)
on 2012-12-25 13:30
(Received via mailing list)
im new one to rails practising rails with sqlite but now it a situation 
for
me to use oracle with rails i have tried to configure oracle with rails 
but
is show me the following error
*activerecord oracle_enhanced adapter could not load ruby-oci8 load 
error*
but i have installed needed gems for configuring oracle
gem 'activerecord-oracle_enhanced-adapter', '~> 1.4.0'
gem 'ruby-oci8', '~> 2.1.0'
and also i have downloaded oracle instant client but still it does'nt 
work
ill be happy if any body give me the step by step explanation on how to
configure oracle?
Posted by Weston Platter (think602)
on 2012-12-26 15:10
(Received via mailing list)
How did you configure ruby-oci8 in your rails project?
Posted by rails r. (rails_r)
on 2012-12-27 05:14
(Received via mailing list)
i've done gem install rubi-oci8[this is one way which i've tried]
when i do this in command prompt it shows ruby-oci8 gem installed...

another method in command prompt i've tried ruby *ruby
 ruby-oci8-2.1.3-x86-mingw32.gem *
but it doesnt work

could u kindly assist me by giving proper guidance to configure oracle 
in
rails
currently using:
rails 3.2.1--ruby1.9.3--os(Windows)
Posted by Rajarshi (Guest)
on 2012-12-27 05:56
(Received via mailing list)
If you use windows xp for ruby on rails then also please download
development kit and follow the instruction given below
https://github.com/oneclick/rubyinstaller/wiki/dev...
http://rubyinstaller.org/downloads/
Posted by Vibhor (Guest)
on 2012-12-27 10:13
(Received via mailing list)
I've used it on both Ubuntu and Redhat Linux successfully.
A friendly advice is to prefer a UNIX based environment - Linux or Mac 
for
both development and deployment because many of the gems available are
written in native code and would compile only in UNIX.
This might give you some hints:
http://thefountainofwisdom.blogspot.in/2012/04/dep...
Posted by Jordon Bedwell (Guest)
on 2012-12-27 10:50
(Received via mailing list)
On Thu, Dec 27, 2012 at 3:12 AM, Vibhor <vibhor.mahajan@gmail.com> 
wrote:
> I've used it on both Ubuntu and Redhat Linux successfully.
> A friendly advice is to prefer a UNIX based environment - Linux or Mac for
> both development and deployment because many of the gems available are
> written in native code and would compile only in UNIX.

If it only compiles on Unix how did you get it to compile on Linux?
Posted by Dheeraj Kumar (Guest)
on 2012-12-27 11:06
(Received via mailing list)
Because Linux is a unix-based operating-system. So is a mac.

--
Dheeraj Kumar
Posted by Jordon Bedwell (Guest)
on 2012-12-27 11:17
(Received via mailing list)
On Thu, Dec 27, 2012 at 4:05 AM, Dheeraj Kumar
<a.dheeraj.kumar@gmail.com> wrote:
> Because Linux is a unix-based operating-system. So is a mac.

Since when is Linux based on Unix?
Posted by Dheeraj Kumar (Guest)
on 2012-12-27 11:19
(Received via mailing list)
Alright, to be politically correct, Linux is a unix-like operating 
system.
http://en.wikipedia.org/wiki/Linux


--
Dheeraj Kumar
Posted by Jordon Bedwell (Guest)
on 2012-12-27 11:38
(Received via mailing list)
On Thu, Dec 27, 2012 at 4:18 AM, Dheeraj Kumar
<a.dheeraj.kumar@gmail.com> wrote:
> Alright, to be politically correct, Linux is a unix-like operating system.
> http://en.wikipedia.org/wiki/Linux

While you're at it read: 
http://en.wikipedia.org/wiki/Political_correctness
Spoiler: It's not politically correct. It's just correct.
Posted by Dheeraj Kumar (Guest)
on 2012-12-27 12:16
(Received via mailing list)
Good to know, thanks!

--
Dheeraj Kumar
Posted by Rajarshi (Guest)
on 2012-12-27 13:18
(Received via mailing list)
I think for ror all platform is good if you have a capability to 
configure
Posted by Matt Jones (Guest)
on 2012-12-28 03:59
(Received via mailing list)
On Wednesday, 26 December 2012 23:13:06 UTC-5, rails_fan wrote:
> currently using:
> rails 3.2.1--ruby1.9.3--os(Windows)
>
>
It's been a while since I used Oracle (and never on Windows), but the
instructions here seem to indicate you need to make sure that OCI.DLL is 
on
your PATH:

http://ruby-oci8.rubyforge.org/en/file.install-ins...

You may want to try loading IRB and requiring the library directly, by
doing 'require "oci8"'. If that fails, please post the stack trace + 
error
message.

--Matt Jones
Posted by Rajarshi (Guest)
on 2012-12-28 06:51
(Received via mailing list)
In my win 7  it is working fine
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.