I am very new to ruby / rails and have an issue that I have not been able to figure out but feel it should be relatively simple to fix.
Command:
From what I can tell, and I've encountered this before, v1.2.5 of Sinatra is the problem. v1.2.3 doesn't do it, so try
gem install sinatra -v 1.2.3
to install the previous version, then add:
gem 'sinatra', '=1.2.3'
before the require
statement.
This is documented as an issue.
EDIT: Sinatra just bumped to a new version, 1.2.6, which fixes this problem. Use gem update sinatra
, followed by gem uninstall sinatra -v 1.2.5
to remove the old, buggy, version.