Thank you, I updated the Gemfile. But now, when I try to connect to snowflake, as in this link https://community.snowflake.com/s/article/connecting-to-snowflake-using-the-obdc-driver--ruby-on-rails-5, i get the following error: Sequel::DatabaseConnectionError (ODBC::Error: IM002 (0) [unixODBC][Driver Manager]Data source name not found, and no default driver specified)
I thought unixodbc wasn't installed, but the command find / -name "*unixodbc*" returns: /usr/include/x86_64-linux-gnu/unixodbc_conf.h /usr/share/doc/unixodbc-dev /var/lib/dpkg/info/unixodbc-dev:amd64.list /var/lib/dpkg/info/unixodbc-dev:amd64.md5sums Any ideas? Em terça-feira, 8 de junho de 2021 às 18:37:53 UTC-3, Jeremy Evans escreveu: > On Tue, Jun 8, 2021 at 1:46 PM Bruno Aguiar de Souza <[email protected]> > wrote: > >> Hey, i think i'm not being able to install correctly this package. I open >> the docker container CLI and type gem install sequel, then i do the command >> sequel to get in the irb and i type require 'sequel', but it returns false. >> When i type require 'odbc' it returns true. And both raise exceptions if i >> do it on rails console. Can anybody help me? > > > If you are running the sequel CLI, then `require 'sequel'` will return > false because sequel has already been required. > > Maybe both raise an exception on the Rails console because that uses > bundler and you haven't updated the Gemfile? That's my best guess given > the information provided. Unfortunately, having no experience with Docker > and no recent experience with Rails, I do not think I will be able to > provide additional help. > > Thanks, > Jeremy > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/5d163044-9421-4dcf-88e3-cec3b5d44790n%40googlegroups.com.
