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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -