-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Bundler.require(:default) is requiring all groups. #4915
Comments
I'm seeing the same thing. Gemfile: # frozen_string_literal: true
source 'https://rubygems.org'
ruby '~> 2.7.0'
gem 'aws-sdk-cognitoidentityprovider'
gem 'aws-sdk-ssm'
gem 'httparty'
group :development, :test do
gem 'aws-sdk-cloudformation'
gem 'aws-sdk-cloudwatchlogs'
gem 'aws-sdk-inspector'
gem 'aws-sdk-s3'
gem 'pry'
gem 'rake'
gem 'rubyzip', require: 'zip'
end Ruby program begins with: require 'bundler'
Bundler.require(:default)
require 'net/http'
require 'base64' And errors with:
UPDATEIf I remove the "test" and "development" gems from the # frozen_string_literal: true
source 'https://rubygems.org'
ruby '~> 2.7.0'
gem 'aws-sdk-cognitoidentityprovider'
gem 'aws-sdk-ssm'
gem 'httparty' |
I will need to look into this more closely, but the culprit I've identified in the past for this kind of issue is that Can you add some logging to |
Unfortunately (or fortunately) I wasn't able to reproduce the problem in a simple example. But this comment makes me think that my problem might be with calling |
I can imagine. I think we can probably print a warning if |
I have a program that has this Gemfile:
And in the program itself begins with:
And In my deployed environment this error is raised:
I'm confused as why bundler is even looking for byebug since it is not in the default group.
The text was updated successfully, but these errors were encountered: