Comments (9)
- Download repo
- heroku login && heroku create
- heroku buildpacks:set https://github.com/bundler/heroku-buildpack-bundler2
- git push heroku master
from boarding.
remote: To install the missing version, run `gem install bundler:2.0.1`
I assume you tried that?
from boarding.
Yes I tried to install locally and it does not make any difference for the old app. I tried to create a completely new one too and It fails for the https://dashboard.heroku.com/new?button-url=https%3A%2F%2Fgithub.com%2Ffastlane%2Fboarding&template=https%3A%2F%2Fgithub.com%2Ffastlane%2Fboarding build that is done in the cloud afaik. That clip is actually copied from that page in the link when one press the 'deploy app'
from boarding.
I'm also seeing this, it does not work when deploying on Heroku.
from boarding.
Are there workarounds? Ty
from boarding.
@brunitob great that works! Thank you.
Don't forget to add env after heroku create, :) ITC_APP_ID
, ITC_USER
, ITC_PASSWORD
from boarding.
Found this on Heroku's page (https://devcenter.heroku.com/articles/bundler-version#known-upgrade-issues):
Many people are hitting issue which is only triggered when a new Bundler version is released. It happens because of a bug in Rubygems, and can be fixed by upgrading to 2.5.5+ or 2.6.3+.
Bundler 2.0.1
1) If you are deploying with Ruby 2.6.0 then you’ll get an error when your dyno or a release phase command trys to execute a bundle command:
remote: Bundler::LockfileError: You must use Bundler 2 or greater with this lockfile.
remote: /app/vendor/ruby-2.6.0/lib/ruby/2.6.0/bundler/lockfile_parser.rb:108:in `warn_for_outdated_bundler_version'
remote: /app/vendor/ruby-2.6.0/lib/ruby/2.6.0/bundler/lockfile_parser.rb:95:in `initialize'
remote: /app/vendor/ruby-2.6.0/lib/ruby/2.6.0/bundler/definition.rb:83:in `new'
This is due to the built-in bundler integration that ships with Ruby 2.6.0. This bug is fixed in 2.6.1. If you hit the above error message with bundler 2.0.1, then please upgrade your Ruby version to use 2.6.1.
2) When using binstubs to run a command instead of bundle exec the wrong version of Bundler can get activated when using Ruby 2.6.x. This bug is reported to Ruby Core and will be fixed when Ruby 2.6.3 is released.
In the short term, the workaround is to ensure all commands in the Procfile and app.json are prefaced with bundle exec. For example:
web: bundle exec bin/rails server -p $PORT -e $RAILS_ENV
worker: bundle exec sidekiq -C config/sidekiq.yml
Technically this bug was fixed with 2.6.2 but there are other bugs with that version so we recommend 2.6.3+.
3) Ruby 2.5.x does not work with Bundler 2 unless the EXACT same version of bundler is specified in the Gemfile.lock.
from boarding.
As per the above advice I upgraded to ruby 2.6.3 and it solved the problem.
from boarding.
Full instructions, step-by-step, are:
git clone [email protected]:fastlane/boarding.git
cd boarding
heroku login
heroku create your_app_name
heroku buildpacks:set https://github.com/bundler/heroku-buildpack-bundler2
heroku config:set ITC_APP_ID=your_add_id
heroku config:set ITC_USER=your_itunes_connect_username
heroku config:set ITC_PASSWORD=your_itunes_connect_password
heroku config:set ITC_TOKEN=your_password_to_protect_boarding
git push heroku master
- Visit https://your_app_name.herokuapp.com/ to see your site up and running
from boarding.
Related Issues (20)
- Question - Can I use boarding to add users to the App Store Connect Users group
- Supporting 2FA as of 29th Feb HOT 2
- Support for bulk adding participants HOT 1
- Email already registered error shown, but user still added to correct group
- If no default external group added, user is still added to All Users
- No favicon in tab
- How to update to a new version?
- How to deploy to Heroku with 2-factor? HOT 6
- HTTP ERROR 410 Gone HOT 5
- Fastlane update to 2.120 HOT 6
- A new tester doesn't get added to TestFlight HOT 5
- Something went wrong, please contact the application owner. HOT 4
- Vanilla deployment to Heroku fails HOT 4
- Move to JWT authentication
- Spaceship::UnauthorizedAccessError: Unauthorized Access thrown 8 hours after deployment HOT 3
- fastlane
- fastlane/boarding/TestFlight
- fastlane/boarding/testflight
- Heroku InviteController#index is missing a template
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 boarding.