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

[fix #182] Show Warning In-line for Windows Gems #182

Merged
merged 1 commit into from Dec 10, 2013

Conversation

schneems
Copy link
Contributor

When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the bundle install is run, thus mitigating this problem.

Even when the bundle install fails the warnings are not displayed since the process exits rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile

schneems added a commit that referenced this pull request Nov 20, 2013
When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings. 

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
@hone
Copy link
Member

hone commented Dec 4, 2013

Let's roll up all the warnings at the end.

When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
@schneems
Copy link
Contributor Author

schneems commented Dec 9, 2013

Not sure what's going on here, all builds pass until I added the changelog 😦

@schneems
Copy link
Contributor Author

Merging in, if master continues to fail i'll revert

schneems added a commit that referenced this pull request Dec 10, 2013
[fix #182] Show Warning In-line for Windows Gems
@schneems schneems merged commit 07aa1b4 into master Dec 10, 2013
schneems added a commit to hone/heroku-buildpack-ruby that referenced this pull request Dec 16, 2013
When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
schneems added a commit that referenced this pull request Dec 30, 2013
When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
gbenedict pushed a commit to RedFunnel/heroku-buildpack-ruby that referenced this pull request Jan 9, 2014
When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
squeedee referenced this pull request in cloudfoundry/ruby-buildpack Apr 10, 2014
When deploying a Gemfile.lock that has been generated via windows, we must remove the file which can cause bundler to not be able to resolve.

When bundler does not resolve, the end user never sees the windows warning message due to the resolver never finishing (since warnings are saved until the end of the output).

This change allows warnings to be emitted inline and changes the default behavior of the windows warning to display before the `bundle install` is run, thus mitigating this problem.

Even when the `bundle install` fails the warnings are not displayed since the process `exits` rather than continues to print out the warnings.

Here is a link to the devcenter article I wrote for this PR https://devcenter.heroku.com/articles/bundler-windows-gemfile
@edmorley edmorley deleted the schneems/better-windows-warning branch August 27, 2020 06:48
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.

None yet

2 participants