1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

fastlaneの環境構築で詰まった

Posted at

発生した問題

$ sudo gem install fastlane

でpermission error

$ sudo gem install -n /usr/local/bin/fastlane

上コマンドでgem自体はインストールできたが

$ fastlane init
$ fastlane beta

の結果、fatlane実行中にxpretty command not foundのエラー

解決した方法

gem installでpermissionエラーになった時の対応方法を参考にrbenvで管理するようにした

$ which ruby
/Users/naginx/.rbenv/shims/ruby
$ which gem
/Users/naginx/.rbenv/shims/gem

rubyとgemをrbenvで管理できてるのが確認できたら

$ gem install fastlane

最終的にはこうなってるはず

$ which fastlane
/Users/naginx/.rbenv/shims/fastlane
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?