Sinatra shotgun problem - undefined methoddefault

I tried to run the Peepcode Sinatra part of the Shotgun tutorial (lets you skip rebooting your web server for every change you make). The error triggered the following message:

$ shotgun simple.rb / Library / Ruby / Gems / 1.8 / gems / shotgun-0.8 / bin / shotgun: 115: undefined methoddefault 'for Rack :: Handler: Module (NoMethodError) from / usr / bin / shotgun: 19: inload 'from / usr / bin / shotgun: 19

I tried updating the system, mongrel and more, but to no avail.

+3
source share
1 answer

, " sudo gem install" Shotgun. Sinatra , Shotgun .

- !

+3

Source: https://habr.com/ru/post/1768909/


All Articles