Comments (11)
gem 'activesupport', '~> 7.0.8'
Add this line in Gemfile and call bundle install
from fastlane.
gem 'activesupport', '~> 7.0.8'
Add this line in Gemfile and call
bundle install
I've added gem 'activesupport', '~> 7.0.8'
to my gemfile and run bundle install
, but I still get the above error. The output of bundle install
shows the correct version (7.0.8) but when running fastlane it still tries to use activesupport-7.1.1
. Any other ideas?
/opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:108:in `<class:Array>': undefined method `deprecator' for ActiveSupport:Module (NoMethodError)
deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
^^^^^^^^^^^
Did you mean? deprecate_constant
from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:8:in `<top (required)>'
from <internal:/opt/homebrew/Cellar/[email protected]/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/opt/homebrew/Cellar/[email protected]/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods.rb:9:in `<top (required)>'
from <internal:/opt/homebrew/Cellar/[email protected]/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:/opt/homebrew/Cellar/[email protected]/3.1.4/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/gems/cocoapods-1.13.0/bin/pod:36:in `<top (required)>'
from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/pod:25:in `load'
from /opt/homebrew/Cellar/fastlane/2.216.0/libexec/bin/pod:25:in `<main>'
error Command failed with exit code 1.
from fastlane.
@broomfn are you running pod install
or bundle exec pod install
?
The gems defined in Gemfile
are used only when running through Bundler, that is, through bundle exec <command>
.
from fastlane.
Thanks @mokagio ,
This link might also be useful for some people...rails/rails#49495 (comment)
from fastlane.
Hey @joomsch, in the logs you shared, the Fastlane binary comes from the Homebrew installation (/opt/homebrew/Cellar/fastlane
). I assume you have been invoking Fastlane with fastlane
?
To use the one installed with Bundler, that is the one that should use the gem set defined in your Gemfile
, you'll need to run it via bundle exec fastlane
.
Hope this helps.
from fastlane.
@broomfn are you running
pod install
orbundle exec pod install
?The gems defined in
Gemfile
are used only when running through Bundler, that is, throughbundle exec <command>
.
thanks, worked for me
from fastlane.
If you came here via a web search, you're probably looking for Stand-Alone Active Support.
from fastlane.
Hi,
I'm getting the same issue when doing a "pod install"
$ pod install
Traceback (most recent call last):
9: from /Users/developer/.rbenv/versions/2.7.3/bin/pod:23:in `<main>'
8: from /Users/developer/.rbenv/versions/2.7.3/bin/pod:23:in `load'
7: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/cocoapods-1.13.0/bin/pod:36:in `<top (required)>'
6: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
5: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
4: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/cocoapods-1.13.0/lib/cocoapods.rb:9:in `<top (required)>'
3: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
2: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'
1: from /Users/developer/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:8:in `<top (required)>'
/Users/developer/.rbenv/versions/2.7.3/lib/ruby/gems/2.7.0/gems/activesupport-7.1.1/lib/active_support/core_ext/array/conversions.rb:108:in `<class:Array>': undefined method `deprecator' for ActiveSupport:Module (NoMethodError)
Did you mean? deprecate_constant
Not using fastlane, any ideas how to fix it? I've tried the suggested Gemfile fix but still get the same issue π€·ββοΈ
Thanks
from fastlane.
Hey @joomsch, in the logs you shared, the Fastlane binary comes from the Homebrew installation (
/opt/homebrew/Cellar/fastlane
). I assume you have been invoking Fastlane withfastlane
?To use the one installed with Bundler, that is the one that should use the gem set defined in your
Gemfile
, you'll need to run it viabundle exec fastlane
.Hope this helps.
It did. Thank you so much!
from fastlane.
I came across this error, but I don't understand what clock.rb has to do with it? the error occurs on the line require 'active_support/time
in the file 'spec_helper.rb`
from fastlane.
Delete Gemfile.lock
and run bundler exec pod install
It resolves my issue on cocoapods 1.13.0.
from fastlane.
Related Issues (20)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- 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 1
- 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
- `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 9
- 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
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.