开发者

Using DBI in Rails

I'm using Rails 3.0.0.rc and have installed the 'dbi' gem inside my gemfile and 开发者_如何学Goran bundle install. But when I do the following require, it returns an error of 'no such file to load -- dbi'

require 'dbi'

What am I doing wrong? Am I using the wrong gem? Please help.


You shouldn't have to require the gem once it's in your Gemfile.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜