fastlane: brew cask install fastlane missing spaceship dependencies?
New Issue Checklist
- Updated fastlane to the latest version
- I have read the Contribution Guidelines
Issue Description
fastlane spaceship seems to be missing pry π
Command output
$ fastlane spaceship
Could not find gem 'pry'
If you installed spaceship using `sudo gem install spaceship` run
sudo gem install pry
to install the missing gem
If you use a Gemfile add this to your Gemfile:
gem 'pry'
and run `bundle install`
Environment
β fastlane environment β
Stack
| Key | Value |
|---|---|
| OS | 10.12.3 |
| Ruby | 2.2.4 |
| Bundler? | false |
| Git | git version 2.12.0 |
| Installation Source | ~/.fastlane/bin/bundle/bin/fastlane |
| Host | Mac OS X 10.12.3 (16D32) |
| Ruby Lib Dir | ~/.fastlane/bin/bundle/lib |
| OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
| Is contained | false |
| Is homebrew | true |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 8.2.1 |
System Locale
| Variable | Value | |
|---|---|---|
| LANG | en_US.UTF-8 | β |
| LC_ALL | en_US.UTF-8 | β |
| LANGUAGE | en_US.UTF-8 | β |
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
| Gem | Version | Update-Status |
|---|---|---|
| fastlane | 2.19.3 | β Up-To-Date |
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
| Gem | Version |
|---|---|
| slack-notifier | 1.5.1 |
| i18n | 0.7.0 |
| json | 1.8.1 |
| thread_safe | 0.3.5 |
| tzinfo | 1.2.2 |
| minitest | 5.4.3 |
| activesupport | 4.2.7.1 |
| CFPropertyList | 2.3.5 |
| claide | 1.0.1 |
| colored | 1.2 |
| nanaimo | 0.2.3 |
| xcodeproj | 1.4.2 |
| rouge | 1.11.1 |
| xcpretty | 0.2.4 |
| terminal-notifier | 1.7.1 |
| unicode-display_width | 1.1.3 |
| terminal-table | 1.7.3 |
| plist | 3.2.0 |
| public_suffix | 2.0.5 |
| addressable | 2.5.0 |
| multipart-post | 2.0.0 |
| word_wrap | 1.0.0 |
| tty-screen | 0.5.0 |
| babosa | 1.0.2 |
| highline | 1.7.8 |
| commander | 4.4.3 |
| excon | 0.54.0 |
| faraday | 0.11.0 |
| unf_ext | 0.0.7.2 |
| unf | 0.1.4 |
| domain_name | 0.5.20161129 |
| http-cookie | 1.0.3 |
| faraday-cookie_jar | 0.0.6 |
| fastimage | 2.0.1 |
| gh_inspector | 1.0.3 |
| uber | 0.0.15 |
| representable | 2.3.0 |
| retriable | 2.1.0 |
| mime-types-data | 3.2016.0521 |
| mime-types | 3.1 |
| hurley | 0.2 |
| little-plugger | 1.1.4 |
| multi_json | 1.12.1 |
| logging | 2.1.0 |
| jwt | 1.5.6 |
| memoist | 0.15.0 |
| os | 0.9.6 |
| signet | 0.7.3 |
| googleauth | 0.5.1 |
| httpclient | 2.8.3 |
| google-api-client | 0.9.26 |
| mini_magick | 4.5.1 |
| multi_xml | 0.6.0 |
| rubyzip | 1.2.0 |
| security | 0.1.3 |
| xcpretty-travis-formatter | 0.0.4 |
| dotenv | 2.2.0 |
| bundler | 1.14.3 |
| faraday_middleware | 0.11.0.1 |
generated on: 2017-03-15
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 21 (8 by maintainers)
I got the same error too.
I install the
fastlaneusingbrew install fastlane, and thefastlane spaceshipcouldnβt work neither after I triedsudo gem install prymany times.For the second suggestion, I donβt know where to find the
Gemfile.Issue Description
Environment
β fastlane environment β
Stack
System Locale
fastlane files:
No Fastfile found
No Appfile found
fastlane gems
Loaded fastlane plugins:
No plugins Loaded
Loaded gems
generated on: 2017-04-16
more commands.
Hey guys, i just found a solution!
Actually, there are two installations of ruby and its gems. One is in
/Library/Ruby/Gems/2.0.0(at least on my computer), and that is why sudo is required to install in normal conditions.But my Fastlane has installed itself to
~/.fastlaneand thus created a private gem library. So you must install pry in this ruby gem library, like:gem install pry --install-dir ~/.fastlane/bin/bundle/lib/ruby/gems/2.2.0(please update this path for yourself as this version will expire over time).After that,
fastlane spaceshipstarts without hassle. πIβm having the same issue:
And my Gemfile is:
I ran
bundle install