I found a workaround for this that works with both ruby ββand jruby.
Instead of specifying gems inside config / warble.rb, I installed the Bundler stone and created a Gemfile in the root folder of my application with the following contents:
source :rubygems gem "sinatra"
With the removal of the config / warble.rb file, the actual contents of this file are as follows:
Warbler::Config.new do |config| config.includes = FileList["hello.rb"] end
Summarizing:
- gems go into gemfile
- application files are included in the config / warble.rb file
source share