Unfortunately, an unexpected error occurred, and Bundler cannot continue #7183
-
(base) san@SANTHOSHs-MacBook-Pro airbnb-clone % bundle install
Environment
Bundler Build Metadata
Bundler settings
GemfileGemfilesource "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby "3.1.1"
gem "bootsnap", require: false # Reduces boot times through caching; required in config/boot.rb
gem "country_select", "~> 6.0"
gem "devise"
gem "geocoder"
gem "jbuilder"
gem "jsonapi-serializer"
gem "image_processing", "~> 1.2" # Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
gem "importmap-rails"
gem "money-rails", "~>1.12"
gem "pg", "~> 1.1"
gem "puma", "~> 5.0"
gem "pundit"
gem "rails", "~> 7.0.3"
gem "redis", "~> 4.0"
gem "sassc-rails" # Use Sass to process CSS
gem "sprockets-rails"
gem "stimulus-rails"
gem "stripe-rails"
gem "tailwindcss-rails"
gem "turbo-rails"
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
# gem "kredis"
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
# gem "bcrypt", "~> 3.1.7"
group :development, :test do
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
gem "debug", platforms: %i[ mri mingw x64_mingw ]
gem "dotenv-rails"
gem "factory_bot_rails"
gem "faker", git: "https://github.com/faker-ruby/faker.git", branch: "master"
gem "pry-rails"
gem "rspec-rails", "~> 5.1", ">= 5.1.2"
end
group :development do
# Use console on exceptions pages [https://github.com/rails/web-console]
gem "web-console"
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
# gem "rack-mini-profiler"
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
# gem "spring"
end
group :test do
gem "shoulda-matchers", "~> 5.0"
end Gemfile.lock
--- TEMPLATE END ---------------------------------------------------------------- Unfortunately, an unexpected error occurred, and Bundler cannot continue. First, try this link to see if there are any existing issue reports for this error: If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there. Describe the problem as clearly as you canDid you try upgrading rubygems & bundler?Post steps to reproduce the problemWhich command did you run?What were you expecting to happen?What actually happened?If not included with the output of your command, run
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I have followed instructions here and fixed this issue.https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/#configure-your-shell thanks |
Beta Was this translation helpful? Give feedback.
-
You mixed gem libraries like strscan under the I suggest to not share them. |
Beta Was this translation helpful? Give feedback.
I have followed instructions here and fixed this issue.https://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/#configure-your-shell thanks