Comments (3)
@maths22 did #55 solve your issue? I ask because a couple folks on our team are still running into this error, even on v0.2.2.
Updating the .../Gemfile_next.lock
Fetching gem metadata from https: //rubygems.org/.......
Could not find gem 'Ruby (= 2.7.7)' in Bootboot plugin Ruby source.
The source contains the following gems matching 'Ruby':
* Ruby-3.0.5
from bootboot.
I see it as well.
Our Gemfile has the following:
plugin('bootboot', '~> 0.2')
Plugin.send(:load_plugin, 'bootboot') if Plugin.installed?('bootboot')
# Rails
if %w[1 true].include?(ENV['DEPENDENCIES_NEXT'])
enable_dual_booting if Plugin.installed?('bootboot')
ruby('3.2.1')
gem 'rails', '~> 7.0.4'
else
ruby('3.1.3')
gem 'rails', '~> 6.1.6'
end
When I run bundle
the first time around on Ruby 3.1.3 I get the error:
Could not find gem 'Ruby (= 3.1.3)' in Bootboot plugin Ruby source.
The source contains the following gems matching 'Ruby':
* Ruby-3.2.1
On the second pass there's no error but Gemfile_next.lock
is not updated. I have to manually change ruby to ruby-3.2.1
and do DEPENDENCIES_NEXT=1 bundle
Here's my bundler env:
Bundler 2.3.26
Platforms ruby, arm64-darwin-21
Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498) [arm64-darwin-21]
Full Path /Users/andrewszczepanski/.rbenv/versions/3.1.3/bin/ruby
Config Dir /Users/andrewszczepanski/.rbenv/versions/3.1.3/etc
RubyGems 3.3.26
Gem Home /Users/andrewszczepanski/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0
Gem Path /Users/andrewszczepanski/.gem/ruby/3.1.0:/Users/andrewszczepanski/.rbenv/versions/3.1.3/lib/ruby/gems/3.1.0
User Home /Users/andrewszczepanski
User Path /Users/andrewszczepanski/.gem/ruby/3.1.0
Bin Dir /Users/andrewszczepanski/.rbenv/versions/3.1.3/bin
Tools
Git 2.38.1
RVM not installed
rbenv rbenv 1.2.0
chruby not installed
I tried to clone bootboot and use the plugin locally so I could catch this and reproduce, but no luck there. Maybe something with bundler caching something? That's my best guess right now. Going to continue trying locally and see if I can isolate it when I get a chance.
from bootboot.
Thank you for the issue. The problem is probably in this file and how we try to detect the ruby version. Do you want to take a look on how to fix it?
from bootboot.
Related Issues (18)
- Raise an error if Bundler < 1.17 based on Bundler flag HOT 1
- Resolve dependencies locally instead of fetching them again remotely
- Missing classification HOT 1
- Can't autosync Gemfile_next.lock when using `bundle lock`
- Bootboot ignores the `--conservative` flag
- Unexpected behaviour when auto-syncing Gemfiles
- How to workaround bundle install --deployment? HOT 7
- Document `DEPENDENCIES_NEXT bundle install` HOT 4
- Is there a recommended way to vendor dependencies with bootboot? HOT 2
- Issues with Heroku deployment HOT 7
- BootBoot calls method removed in Bundler 2.3.12 HOT 2
- Dependabot yml config
- Don't update the Gemfile_next.lock when bundler is frozen HOT 1
- Bundler plugin index does not update when updating bootboot
- allow lockfiles to receive a customized name HOT 3
- bootboot forces bundler to contact gem repos? HOT 1
- Only Gemfile_next.lock Is Getting Updated After Installing BootBoot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootboot.