Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to sinatra v2.1.0 #33

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Upgrade to sinatra v2.1.0 #33

merged 1 commit into from
Aug 12, 2021

Conversation

sue445
Copy link
Contributor

@sue445 sue445 commented Aug 12, 2021

sinatra v2.0.x doesn't work on ruby 3.0

/home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/mustermann-1.1.1/lib/mustermann.rb:73:in `new': Hash can't be coerced into Mustermann::Pattern (TypeError)
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/mustermann-1.1.1/lib/mustermann.rb:70:in `block in new'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/mustermann-1.1.1/lib/mustermann.rb:70:in `map'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/mustermann-1.1.1/lib/mustermann.rb:70:in `new'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:1641:in `compile'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:1629:in `compile!'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:1271:in `error'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:1831:in `<class:Base>'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:889:in `<module:Sinatra>'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/base.rb:22:in `<top (required)>'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/main.rb:26:in `<module:Sinatra>'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra/main.rb:1:in `<top (required)>'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/sinatra-2.0.7/lib/sinatra.rb:1:in `<top (required)>'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/home/deploy/local/ruby/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /home/deploy/local/ruby/lib/ruby/gems/3.0.0/gems/stackprof-webnav-1.0.2/lib/stackprof-webnav/server.rb:1:in `<top (required)>'

This problem is resolved at sinatra v2.1.0

ref.

So I want to upgrade.

@alisnic alisnic merged commit b7a45dd into alisnic:master Aug 12, 2021
@sue445 sue445 deleted the sinatra_2.1.0 branch August 12, 2021 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants