2019-02-01から1ヶ月間の記事一覧

railsでmysql2のbundle installに失敗する

$ bundle install --path vendor/bundle ... 略 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [mysql2.bundle] Error 1 make failed, exit code 2 Gem files will remain installed in /path/to/gems/mysql2…

gem installができなくなった時の対応

事象 pod install cocoapods ができなくてこまったので対応した $ pod install cocoapods /Library/Ruby/Site/2.0.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException) from /Library/Ruby/Site/2.0.…

Preferenceっぽいwindowをつくる

やること 環境設定(Preference)っぽいウィンドウを作ります。 イメージ的にはdocker desktop for macのやつです。 出来上がりはこんな感じです 起動時にウィンドウが出ます メニューから Preferences を選択すると環境設定ウィンドウが出ます 環境設定ウィン…