Comments (5)
Are you running the same bundler version as the one which is specified in the .lock
file? I've seen that be a problem in the past. On CI I've had to specify it in the past when the container version and what we're using elsewhere differ.
from appraisal.
no, that's the issue i'm trying to sort out. if i support rails 5 i'm forced to use bundler (~> 1.17.3)
everywhere. i'm looking for a way to pass in the version number to appraisal
so it uses it (eg, _2.1.4_
or whatever) in the bundle exec
call it makes. does this make sense?
from appraisal.
Ah right, I see. I didn't find it necessary to use bundler ~> 1.17.3, but it did require some work for older Ruby versions.
Does this CircleCI config help at all? https://github.com/thoughtbot/administrate/blob/main/.circleci/config.yml
I ended up using an environment variable to set to bundler 2.1.4, so that we're using the same one for every Ruby version.
from appraisal.
Hoping there will eventually be a way to have different bundler versions via Appraisal!
from appraisal.
I was able to get it working!!
Working example of Appraisal & Combustion with a massive test matrix on Github Actions in my sanitize_email gem here: pboling/sanitize_email@a9c1d9a
- Ruby 2.3 - Ruby 3.3
- Rails 3.0 - Rails 7.1
- bundler 1 & bundler 2
from appraisal.
Related Issues (20)
- Support for multiple rubies? HOT 6
- bundle install --local in test tries to contact remote HOT 2
- uninitialized constant Appraisal::DependencyList::Set on Ruby 3 HOT 5
- Error: Process completed with exit code 1. flutter ci/cd HOT 2
- CI: What comes after Travis? HOT 5
- New release for `install_if` support HOT 2
- error HOT 2
- Error: Process completed with exit code 1. HOT 1
- Appraisal loading wrong versions HOT 3
- customize_gemfiles is documented and merged to main but not released HOT 3
- Errno::ENOENT on install with Ruby 3.2 HOT 8
- Cut a new release HOT 1
- Appraisal v3 HOT 28
- Can't find executable appraisal for gem appraisal HOT 4
- `bundle check` returning exit code 1 but gems don't get installed HOT 2
- New release HOT 4
- `customize_gemfiles` not working correctly with Ruby 3.1 due to hash used for keyword arguments HOT 1
- Customise gemfiles adds 1 too many newline chars HOT 1
- Running appraisal specs with Bundler >= 2.4.0 broken HOT 6
- Hound/Rubocop Config HOT 1
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 appraisal.