0

follow Sinatra write extension document, I write a ./lib/sinatra/test_helper.rb file containing my TestHelper, but using rackup start I got this error:

/...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)

Seems Bundler could find my custom helpers extension. How to declare it in my Gemfile?

C.C.
  • 1,060
  • 3
  • 13
  • 25

0 Answers0