0

按照 Sinatra 编写扩展文档,我编写了一个./lib/sinatra/test_helper.rb包含我的 TestHelper 的文件,但是使用rackupstart 我得到了这个错误:

/...PATH.../vendor/cache/ruby/1.9.1/gems/backports-3.1.1/lib/backports/tools.rb:328:in `require': cannot load such file -- sinatra/testhelper (LoadError)

似乎 Bundler 可以找到我的自定义助手扩展。如何在我的 Gemfile 中声明它?

4

0 回答 0