All -
We have hit a wall with trying to get our Ruby On Rails app set up and
running on a RedHat Linux Enterprise 4 64 bit Machine. We have
everything running fine on Fedora Core 5 x686 machines, but were asked
to move to a more beefed up Dev env.
We got the adapter to compile fine following the README file and using
the Sybase 64bit libraries, but when we run the example we get a Memory
Allocation Error. The box has 2Gig of memory and practically all is
free.
Not sure if the adapter is compatible for 64bit processors. Any help or
direction you can provide would be greatly appreciated.
Here are the steps and error we are receiving using irb:
require ‘sybsql.rb’
irb(main):003:0> query =
SybSQL.new({‘S’=>‘’,‘U’=>'**’,‘P’=>’******’})
/pkgs/roots/software/ruby/lib/ruby/site_ruby/1.8/x86_64-linux/sybct.rb:27:in
connect': failed to allocate memory (NoMemoryError) from /pkgs/roots/software/ruby/lib/ruby/site_ruby/1.8/x86_64-linux/sybct.rb:27:inopen’
from
/pkgs/roots/software/ruby/lib/ruby/site_ruby/1.8/x86_64-linux/sybsql.rb:269:in
initialize' from (irb):3:innew’
from (irb):3:in irb_binding' from /pkgs/roots/software/ruby/lib/ruby/1.8/irb/workspace.rb:52:inirb_binding’
from /pkgs/roots/software/ruby/lib/ruby/1.8/irb/workspace.rb:52
If you need further info on the environment please let me know.
Thanks in advace for your help and direction.
Matt B.