tpalmer / fastlane-plugin-latest_hockeyapp_version_number

Easily fetch the most recent HockeyApp version number for your app
MIT License
8 stars 2 forks source link

Version Clash While Loading 'activesupport' Gem #3

Open SchallerJe opened 7 years ago

SchallerJe commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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

SchallerJe commented 7 years ago

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"