You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#6 1.939 ERROR: Error installing sinatra:
#6 1.939 There are no versions of mustermann (~> 3.0) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
#6 1.939 mustermann requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.
The code at https://github.com/turnbullpress/dockerbook-code/blob/master/code/5/sinatra/webapp/Dockerfile#L6
and https://github.com/turnbullpress/dockerbook-code/blob/master/code/5/sinatra/webapp_redis/Dockerfile#L6 can't progress.
According https://github.com/sinatra/sinatra/blob/master/README.md?plain=1#L2828
But the version of ruby on apt is 2.5.0, and sinatra version on gem is 3.0.2, so it's a conflict.
It's better to give a specific version to sinatra. (2.2.2 was latest supporting Ruby 2.5)
The text was updated successfully, but these errors were encountered: