Aldric Giacomoni wrote:

> If I have time soon, which, sadly, is unlikely, I will try to get this 
> working on an Ubuntu machine. I believe you're right, and setting up 
> ctlib will help you out. Let me know what works, in the end, and I'll 
> put that on my blog as well - because you're right, this is very sadly 
> underdocumented.

I _think_ I've got ctlib properly compiled (against freetds rather than 
Sybase's own libraries, no less).  but I can't figure out where to PUT 
the products of the compile.  the ctlib readme says:

"  Please copy sybct.o sybct.so sybct.rb sybsql.rb to somewhere of
$LOAD_PATH."

I am not sure what that means. Can't figure out where to put those files 
where a Rails app will find them, and << require 'sybsql' >> (a line in 
the AR adapter) won't just say "no such file to load".

Any ideas?

It's odd that sybase ctlib isn't simply a gem in the first place.  That 
would be a real service, if you wanted to make it into a gem. Although 
compiling it is still going to require some manual attention to the 
extconf.rb file depending on where your sybase client libraries are.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to