Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Clash While Loading 'activesupport' Gem #3

Open
SchallerJe opened this issue Feb 16, 2017 · 4 comments
Open

Version Clash While Loading 'activesupport' Gem #3

SchallerJe opened this issue Feb 16, 2017 · 4 comments

Comments

@SchallerJe
Copy link

SchallerJe commented Feb 16, 2017

Hi,
when executing "fastlane test" I get the following version clash:

.fastlane/bin/bundle/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2275:in check_version_conflict: can't activate activesupport-5.0.1, already activated activesupport-4.2.7.1 (Gem::LoadError)

activesupport-4.2.7.1 doesn't even exist inside the gem directory. Any ideas?

Cheers,
Jens

@tpalmer
Copy link
Owner

tpalmer commented Mar 3, 2017

Hmm, you shouldn't need to run from this plugin directly. That lane is only for the tests. Check out this documentation: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md

Let me know if you're still having issues.

@SchallerJe
Copy link
Author

SchallerJe commented Mar 13, 2017

I know that this is only for testing. But I get the same error when using the plugin for my project. So it seems to be a general error.
This seems to be happening because your plugin needs activesupport >5 and fastlane is locked on version 4.
Maybe it's only on my machine, but any help would be awesome.

@diederich
Copy link

@SchallerJe Looks like a more recent version of fastlane updated the dependency?

@SchallerJe
Copy link
Author

Ok, now it works. The trick is to use bundler, set the version for activesupport to 4.2.7.1 in the Gemfile and use "bundle exec fastlane"

Repository owner deleted a comment from ULis3h Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants