shotgun
shotgun copied to clipboard
reloading rack development server / forking version of rackup
On a fresh app, it looks like shotgun does not like something (running ruby 3.0 >) getting the following error with thin ```bash $ shotgun --server=thin --port=6000 config.ru == Shotgun/Thin...
On running `shotgun` there was a warning `.rvm/gems/ruby-2.7.0/gems/shotgun-0.9.2/bin/shotgun:156: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call`
ENV ``` ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux] shotgun-0.9.1 rack-1.6.1 thin-1.6.3 ``` Simple config.ru ``` ruby map '/' do p "root" run Proc.new {|env| [200, {"Content-Type" => "text/html"}, ["root"]]} end...
old rack link is dead
This PR - fixes an old hyperlink which pointed at rack on RubyForge (in the man page and in the README) - amends the changelog section of the man page...
This PR introduces the explanation from #69 into the README's Compatibility section. This helps users on latest macOS.
Set the default host to localhost instead of 127.0.0.1 for simultaneous listening on ipv4 and ipv6
All of Rack's option parsing and other rackup related stuff has been moved to a nice little `Rack::Server` class: http://github.com/rack/rack/commit/5db5d4e7432d026a7bddf344f97e8facd09128d8 This should let us remove a huge swath of code...
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/