LoadError when write sinatra helpers using bundler -
follow sinatra write extension document, write ./lib/sinatra/test_helper.rb
file containing testhelper, using rackup
start got 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 find custom helpers extension. how declare in gemfile?
Comments
Post a Comment