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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -