---------------
config.gem 'dbd-odbc', :version => '0.2.4', :lib => 'dbd/ODBC'
---------------
I recently had to switch to a new computer, so new install of ubuntu,
rails, gems, etc. I installed dbd-odbc as you can see:
---------------
$ gem list
...
dbd-odbc (0.2.4)
...
---------------
my app keeps failing though, and if I run a rake, it tries to reinstall
the same gem each time, but then the app still doesn't see it:
---------------
$ sudo rake gems:install
[trace ...]
no such file to load -- dbd-odbc
[trace ...]
gem install dbd-odbc --version "= 0.2.4"
Successfully installed dbd-odbc-0.2.4
1 gem installed
Installing ri documentation for dbd-odbc-0.2.4...
Installing RDoc documentation for dbd-odbc-0.2.4...
--------------
Has anyone seen this behavior before?
Thanks for any help!
-Ben
--
Posted via http://www.ruby-forum.com/.
Thanks
Once the correct Ruby bindings are installed, you can require 'odbc'
with no dependencies.
HTH,
Dave