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

Removes explicit dependency on Rack #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bltavares
Copy link

The latest version of rack requires Ruby >= 2.2.2, so the build fails.

Step 4 : RUN gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack rack-protection sinatra-reloader
 ---> Running in 5ed9d4b68edb
ERROR:  Error installing rack:
        rack requires Ruby version >= 2.2.2.
Successfully installed bundler-1.12.5
Successfully installed rack-1.6.4
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed sinatra-1.4.7
Successfully installed i18n-0.7.0
Successfully installed faker-1.6.5
Successfully installed i18n-0.7.0
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed backports-3.6.8
Successfully installed rack-test-0.6.3
Successfully installed multi_json-1.12.1
Successfully installed sinatra-contrib-1.4.7
Successfully installed sinatra-reloader-1.0
15 gems installed
The command '/bin/sh -c gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack rack-protection sinatra-reloader' returned a non-zero code: 1

This commit removes the explicit dependency and let the rack-protection provide rack as a transitive dependency, which will not fail the build as it will pick a compatible version.

Step 4 : RUN gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack-protection sinatra-reloader
 ---> Running in fa72ebcff776
Successfully installed bundler-1.12.5
Successfully installed rack-1.6.4
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed sinatra-1.4.7
Successfully installed i18n-0.7.0
Successfully installed faker-1.6.5
Successfully installed i18n-0.7.0
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed backports-3.6.8
Successfully installed rack-test-0.6.3
Successfully installed multi_json-1.12.1
Successfully installed sinatra-contrib-1.4.7
Successfully installed sinatra-reloader-1.0
15 gems installed
 ---> 85b56e326c59

The latest version of rack requires Ruby >= 2.2.2, so the build fails.

```
Step 4 : RUN gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack rack-protection sinatra-reloader
 ---> Running in 5ed9d4b68edb
ERROR:  Error installing rack:
        rack requires Ruby version >= 2.2.2.
Successfully installed bundler-1.12.5
Successfully installed rack-1.6.4
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed sinatra-1.4.7
Successfully installed i18n-0.7.0
Successfully installed faker-1.6.5
Successfully installed i18n-0.7.0
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed backports-3.6.8
Successfully installed rack-test-0.6.3
Successfully installed multi_json-1.12.1
Successfully installed sinatra-contrib-1.4.7
Successfully installed sinatra-reloader-1.0
15 gems installed
The command '/bin/sh -c gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack rack-protection sinatra-reloader' returned a non-zero code: 1
```

This commit removes the explicit dependency and let the rack-protection provide rack as a transitive dependency, which will not fail the build as it will pick a compatible version.

```
Step 4 : RUN gem install --no-ri --no-rdoc bundler sinatra faker i18n tilt rack-protection sinatra-reloader
 ---> Running in fa72ebcff776
Successfully installed bundler-1.12.5
Successfully installed rack-1.6.4
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed sinatra-1.4.7
Successfully installed i18n-0.7.0
Successfully installed faker-1.6.5
Successfully installed i18n-0.7.0
Successfully installed tilt-2.0.5
Successfully installed rack-protection-1.5.3
Successfully installed backports-3.6.8
Successfully installed rack-test-0.6.3
Successfully installed multi_json-1.12.1
Successfully installed sinatra-contrib-1.4.7
Successfully installed sinatra-reloader-1.0
15 gems installed
 ---> 85b56e326c59
```
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.

1 participant