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

Missing gem 'fastlane-plugin-badge' #78

Closed
eastsss opened this issue Sep 13, 2018 · 4 comments
Closed

Missing gem 'fastlane-plugin-badge' #78

eastsss opened this issue Sep 13, 2018 · 4 comments

Comments

@eastsss
Copy link

eastsss commented Sep 13, 2018

Hi! I can't get this plugin to work. After installing this plugin it still says the following (before the lane is actually executed)

[19:48:27]: Missing gem 'fastlane-plugin-badge', please add the following to your local Gemfile:
[19:48:27]: 
[19:48:27]: ▸ gem "fastlane-plugin-badge"
[19:48:27]: 
[19:48:27]: Error loading plugin 'fastlane-plugin-badge': Add 'gem "fastlane-plugin-badge"' to your Gemfile and restart fastlane
[19:48:28]: Missing gem 'fastlane-plugin-badge', please add the following to your local Gemfile:
[19:48:28]: 
[19:48:28]: ▸ gem "fastlane-plugin-badge"
[19:48:28]: 
[19:48:28]: Error loading plugin 'fastlane-plugin-badge': Add 'gem "fastlane-plugin-badge"' to your Gemfile and restart fastlane
[19:48:28]: It seems like you wanted to load some plugins, however they couldn't be loaded
[19:48:28]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
+-----------------------+-----------+------------------+
|                     Used plugins                     |
+-----------------------+-----------+------------------+
| Plugin                | Version   | Action           |
+-----------------------+-----------+------------------+
| fastlane-plugin-badge | undefined | No actions found |
+-----------------------+-----------+------------------+

and this at the line where i call add_badge action

[19:48:29]: Could not find action, lane or variable 'add_badge'. Check out the documentation for more details: https://docs.fastlane.tools/actions

I even tried adding gem "fastlane-plugin-badge" to Gemfile manually, but still the same error, nothing changes. How do i make it work? Thx in advance.

@kevnm67
Copy link

kevnm67 commented Sep 13, 2018

What does your gemfile look like/does it have the plugin logic below? Did you run bundle install first?

gem "fastlane"

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

@eastsss
Copy link
Author

eastsss commented Sep 14, 2018

Gemfile

source "https://rubygems.org"

gem "fastlane"

plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)

Pluginfile

# Autogenerated by fastlane
#
# Ensure this file is checked in to source control!

gem 'fastlane-plugin-badge'

if i run bundle install i get following output

Using CFPropertyList 3.0.0
Using public_suffix 2.0.5
Using addressable 2.5.2
Using atomos 0.1.3
Using babosa 1.0.2
Using curb 0.9.6
Using fastimage 2.1.4
Using bundler 1.16.4
Using colored 1.2
Using highline 1.7.10
Using commander-fastlane 4.4.6
Using dotenv 2.5.0
Using emoji_regex 0.1.1
Using excon 0.62.0
Using multipart-post 2.0.0
Using faraday 0.15.2
Using unf_ext 0.0.7.5
Using unf 0.1.4
Using domain_name 0.5.20180417
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.12.2
Using gh_inspector 1.1.3
Using jwt 2.1.0
Using memoist 0.16.0
Using multi_json 1.13.1
Using os 1.0.0
Using signet 0.9.1
Using googleauth 0.6.6
Using httpclient 2.8.3
Using mime-types-data 3.2018.0812
Using mime-types 3.2.2
Using declarative 0.0.10
Using declarative-option 0.1.0
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.1.2
Using google-api-client 0.23.9
Using json 2.1.0
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using plist 3.4.0
Using rubyzip 1.2.2
Using security 0.1.3
Using naturally 2.2.0
Using simctl 1.6.5
Using slack-notifier 2.3.2
Using terminal-notifier 1.8.0
Using unicode-display_width 1.4.0
Using terminal-table 1.8.0
Using tty-screen 0.6.5
Using tty-cursor 0.6.0
Using tty-spinner 0.8.0
Using word_wrap 1.0.0
Using claide 1.0.2
Using colored2 3.1.2
Using nanaimo 0.2.6
Using xcodeproj 1.6.0
Using rouge 2.0.7
Using xcpretty 0.3.0
Using xcpretty-travis-formatter 1.0.0
Using fastlane 2.104.0
Using badge 0.9.1
Using fastlane-plugin-badge 1.1.0

what am i missing?

@eastsss
Copy link
Author

eastsss commented Sep 14, 2018

ok, i did this fastlane/fastlane#8431 (comment)
and somehow it started to work... still don't get what was the problem though..

@HazAT
Copy link
Owner

HazAT commented Sep 14, 2018

Thanks for clearing this up, closing.

@HazAT HazAT closed this as completed Sep 14, 2018
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