rubyもターミナルもあまり使い慣れていない(非エンジニア)ものです。
Mac osx.8.5でruby on railsをインストールしたいのですが、
手順等をよみ、homebrew を使い
http://media.tech-salon.com/ruby-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-mac/
$ brew install rbenv
を実行すると、下記のエラーが出ます。
Error: Permission denied - /Users/<usrname>/Library/Logs/Homebrew/openssl/00.options.out
下記のページを見て、
https://github.com/caskroom/homebrew-cask/issues/2101
sudo chown -R <username> /Users/<username>/Library/Logs/Homebrew/openssl/00.options.out
というのも実行してみましたが、状態は変わりませんでした。
アドバイス頂けたら幸いです
追記:brew doctora を実行すると次のように出ます
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: The system curl on 10.8 and below is often incapable of supporting
modern secure connections & will fail on fetching formulae.
We recommend you:
brew install curl
Warning: "config" scripts exist outside your system or Homebrew directories.
./configure
scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/Users/<usrname>/anaconda/bin/curl-config
/Users/<usrname>/anaconda/bin/freetype-config
/Users/<usrname>/anaconda/bin/libdynd-config
/Users/<usrname>/anaconda/bin/libpng-config
/Users/<usrname>/anaconda/bin/libpng16-config
/Users/<usrname>/anaconda/bin/python3-config
/Users/<usrname>/anaconda/bin/python3.5-config
/Users/<usrname>/anaconda/bin/python3.5m-config
/Users/<usrname>/anaconda/bin/xml2-config
/Users/<usrname>/anaconda/bin/xslt-config
/Library/Frameworks/GDAL.framework/Programs/gdal-config
/opt/ImageMagick/bin/Magick++-config
/opt/ImageMagick/bin/Magick-config
/opt/ImageMagick/bin/MagickCore-config
/opt/ImageMagick/bin/MagickWand-config
/opt/ImageMagick/bin/Wand-config
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run brew link
on these:
cloog
Warning: You are using macOS 10.8.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Warning: Some installed formula are missing dependencies.
You should brew install
the missing dependencies:
brew install isl@0.12
Run brew missing
for more details.
Kawamura-no-MacBook-Air:~ <usrname>$
自己解決:
よく読んでみたら下記のような記述があり、
Warning: The system curl on 10.8 and below is often incapable of supporting
modern secure connections & will fail on fetching formulae.We recommend you:
brew install curl
brew install curl
をしてcurlを入れたところ、ちゃんとインストールできました。
回答2件
あなたの回答
tips
プレビュー