Comments (11)
I'm using currently using RUBYOPT='-rostruct'
env variable as a workaround in GitHub Actions:
- run: bundle exec fastlane ...
env:
RUBYOPT: '-rostruct' # TODO: Remove when https://github.com/fastlane/fastlane/pull/21950 gets released
from fastlane.
seems to work after upgrading versions in the github file :
ruby-version: 3.3
and installed manually the bundler with an higher version
gem install bundler -v 2.4.22
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: false
- name: Setup fastlane
id: set_up_fastlane
run: |
gem install bundler -v 2.4.22
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
from fastlane.
I'm using 2.206.2
and it crashed with the same error.
So doesn't seem to be related to 2.220.0
Still a valid issue of course.
from fastlane.
We're facing the same issue on another project
we tried to force the version of fastlane to an old one using
gem 'fastlane', '2.219.0'
and also to include ostruct in the gemfile but without any success
gem 'ostruct'
the environment :
- OS seems to be
ubuntu-20.04
- bundler:1.17.2
- ruby: 2.7.0
from fastlane.
In our use case, freezing Gemfile
version to 2.219.0
did the trick for a clean bundle update
, so I'd suspect the latest update to actually cause the issue. 🤔 Seen on some Linux deployment with Ruby 2.6.6, I'd guess the situation would be the same on macOS with system Ruby 2.6.
from fastlane.
seems to work after upgrading versions in the github file :
ruby-version: 3.3
and installed manually the bundler with an higher version
gem install bundler -v 2.4.22
- uses: ruby/setup-ruby@v1 with: ruby-version: 3.3 bundler-cache: false - name: Setup fastlane id: set_up_fastlane run: | gem install bundler -v 2.4.22 bundle config path vendor/bundle bundle install --jobs 4 --retry 3
Thank you so much, worked like a charm.
from fastlane.
We also had this issue since yesterday when running tests or builds for android.
Using the combination of fastlane 2.220.0 with bundler 2.4.22 and ruby 2.7 we had this problem. Just downgrading to fastlane 2.219.0 didn't worked.
With the combination of fastlane 2.220.0 or 2.219.0 with bundler 2.4.22 and ruby 3.3 it works again.
Thanks @florent37 for the hint!
from fastlane.
Related? #21942
The -rostruct
workaround didn't help.
from fastlane.
I use a workaround with the below code.
It's cicd on gitlab.
variables:
# TODO: Remove when https://github.com/fastlane/fastlane/pull/21950 gets released
RUBYOPT: "-rostruct"
from fastlane.
I have fastlane on a local machine, not gitlab, but the same override works. My versions:
- ruby -v ruby 2.7.0p0
- fastlane 2.220.0 (? from Gemfile.lock)
- bundle -v version 2.3.14
and also got the above NameError. Adding RUBYOPT override inline with my bundle exec works:
…
# TODO: Try removing RUBYOPT override after https://github.com/fastlane/fastlane/pull/21950 gets released
RUBYOPT="-rostruct" bundle exec fastlane beta
from fastlane.
As mentioned above, it affects older 2.219.0
as well, we've just found this happening on a Docker image with Linux + Ruby 2.6/2.7. RUBYOPT="-rostruct"
hotfix worked. Hopefully the MR mentioned will get merged soon, followed by a hotfix release. 🙏
from fastlane.
Related Issues (20)
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 3
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file HOT 1
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 10
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in China’s ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
- if and switch expressions Swift HOT 1
- xcodes() stopped working -- no changes or updates HOT 2
- Verification codes can’t be sent to this phone number at this time. Please try again later
- Stucked when distributing iOS package to testflight external group
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 fastlane.