smart-proxy fails to start with old Sinatra version
On systems with an old version of Sinatra installed (<=1.0.a),
smart-proxy fails to start with the following message:
./bin/../lib/sinatra-patch.rb:26:in `run!': undefined local variable or method `bind' for SmartProxy:Class (NameError) from bin/smart-proxy:63
On systems with a Sinatra version >=1.0, everything is working fine.
#1 Updated by Jochen Schalanda almost 10 years ago
- File 0001-Fixes-bug-665-Set-option-bind-or-host-depending-on-S.patch 0001-Fixes-bug-665-Set-option-bind-or-host-depending-on-S.patch added
For reference see https://github.com/sinatra/sinatra/commit/849a5a95fc33e6ddd3633863c4bc3ee0065c503a for the changes introduced in Sinatra.