Is there any RAILS DUDE to HELP me out kick this problem?

88 views
Skip to first unread message

rails_fan

unread,
Dec 25, 2012, 7:28:42 AM12/25/12
to rubyonra...@googlegroups.com
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?

Weston Platter

unread,
Dec 26, 2012, 9:09:07 AM12/26/12
to rubyonra...@googlegroups.com
How did you configure ruby-oci8 in your rails project?

rails_fan

unread,
Dec 26, 2012, 11:13:06 PM12/26/12
to rubyonra...@googlegroups.com
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)

Rajarshi

unread,
Dec 26, 2012, 11:54:43 PM12/26/12
to rubyonra...@googlegroups.com
If you use windows xp for ruby on rails then also please download development kit and follow the instruction given below


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/jJZYwYpkWGQJ.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

Vibhor

unread,
Dec 27, 2012, 4:12:09 AM12/27/12
to rubyonra...@googlegroups.com
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:

Jordon Bedwell

unread,
Dec 27, 2012, 4:49:40 AM12/27/12
to rubyonra...@googlegroups.com
On Thu, Dec 27, 2012 at 3:12 AM, Vibhor <vibhor....@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?

Dheeraj Kumar

unread,
Dec 27, 2012, 5:05:07 AM12/27/12
to rubyonra...@googlegroups.com
Because Linux is a unix-based operating-system. So is a mac.

-- 
Dheeraj Kumar

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.

Jordon Bedwell

unread,
Dec 27, 2012, 5:15:57 AM12/27/12
to rubyonra...@googlegroups.com
On Thu, Dec 27, 2012 at 4:05 AM, Dheeraj Kumar
<a.dheer...@gmail.com> wrote:
> Because Linux is a unix-based operating-system. So is a mac.

Since when is Linux based on Unix?

Dheeraj Kumar

unread,
Dec 27, 2012, 5:18:30 AM12/27/12
to rubyonra...@googlegroups.com
Alright, to be politically correct, Linux is a unix-like operating system. 

-- 
Dheeraj Kumar

Jordon Bedwell

unread,
Dec 27, 2012, 5:36:45 AM12/27/12
to rubyonra...@googlegroups.com
On Thu, Dec 27, 2012 at 4:18 AM, Dheeraj Kumar
<a.dheer...@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.

Dheeraj Kumar

unread,
Dec 27, 2012, 6:15:15 AM12/27/12
to rubyonra...@googlegroups.com
Good to know, thanks!

-- 
Dheeraj Kumar

Rajarshi

unread,
Dec 27, 2012, 7:17:01 AM12/27/12
to rubyonra...@googlegroups.com
I think for ror all platform is good if you have a capability to configure 

Matt Jones

unread,
Dec 27, 2012, 9:57:59 PM12/27/12
to rubyonra...@googlegroups.com


On Wednesday, 26 December 2012 23:13:06 UTC-5, rails_fan wrote:
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)


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:


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

Rajarshi

unread,
Dec 28, 2012, 12:50:38 AM12/28/12
to rubyonra...@googlegroups.com
In my win 7  it is working fine

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/IRdzEQJddpkJ.
Reply all
Reply to author
Forward
0 new messages