rackup

cannot load such file — rack/handler/puma

偶尔善良 提交于 2019-11-30 09:47:01
My setup and the error I get an error when I start my Sinatra application with rackup and puma. My config.ru file looks like this: #\ -s puma require './controller/main.rb' run Sinatra::Application So when I now use rackup I get this error: /home/username/.rvm/gems/ruby-1.9.3-p392/gems/rack-1.5.2/lib/rack/handler.rb:76:in `require': cannot load such file -- rack/handler/puma (LoadError) I use ruby 1.9.3p392 (2013-02-22 revision 39386) [i686-linux] What I have tried so far My first thought was that I forgot to install puma, or puma is broken in some way. So I tried: puma -v puma version 2.0.1

cannot load such file — rack/handler/puma

喜欢而已 提交于 2019-11-29 15:11:26
问题 My setup and the error I get an error when I start my Sinatra application with rackup and puma. My config.ru file looks like this: #\ -s puma require './controller/main.rb' run Sinatra::Application So when I now use rackup I get this error: /home/username/.rvm/gems/ruby-1.9.3-p392/gems/rack-1.5.2/lib/rack/handler.rb:76:in `require': cannot load such file -- rack/handler/puma (LoadError) I use ruby 1.9.3p392 (2013-02-22 revision 39386) [i686-linux] What I have tried so far My first thought was