Bundler not loading ibm_db gem on Windows

26 views
Skip to first unread message

Praveen

unread,
Oct 27, 2010, 4:38:10 AM10/27/10
to ruby-bundler
Hi,

I am trying to build a rails application on windows using the ibm_db
gem. I create the rails app as below

rails new testapp -d ibm_db

This is successful. However when I run the scaffold command

rails generate scaffold Tool name:string

I get an error saying "Could not find gem 'ibm_db (>= 0, runtime)' in
any of the gem sources" but ibm_db gem is present is installed on my
system. When I issue gem 'ibm_db' [line in my gemfile of my
application] through irb session it returns a true.

I also tried by specifying the platform as :mswin in the gemfile, but
this removes the above error but fails when trying to load the ibm_db
adapter in Rails (error message below).

"(no such file to load -- active_record/connection_adapters/
ibm_db_adapter)"

I am on Windows with Ruby-MingW.

Any ideas what could I be missing?

Thanks

Praveen

Praveen

unread,
Oct 29, 2010, 9:35:06 AM10/29/10
to ruby-bundler
Hey,

Could I get some help? :(

Thanks

Praveen
Reply all
Reply to author
Forward
0 new messages