teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

3

修正

2017/12/27 21:53

投稿

nullpon
nullpon

スコア5739

answer CHANGED
@@ -9,6 +9,7 @@
9
9
  ```
10
10
 
11
11
  追記2:
12
+ 自己解決したと言うことで実験。
12
13
 
13
14
  ```bash
14
15
  $ touch curl

2

追記2

2017/12/27 21:53

投稿

nullpon
nullpon

スコア5739

answer CHANGED
@@ -5,5 +5,16 @@
5
5
  システムのcurlではなく/usr/local/opt/curl/bin/curlを使用します。
6
6
 
7
7
  ```bash
8
- $ HOMEBREW_FORCE_BREWED_CURL="1" brew upgrade
8
+ $ HOMEBREW_FORCE_BREWED_CURL="1" brew <command>
9
+ ```
10
+
11
+ 追記2:
12
+
13
+ ```bash
14
+ $ touch curl
15
+ $ brew config|grep -i curl
16
+ Curl: N/A
17
+ $ rm curl
18
+ $ brew config|grep -i curl
19
+ Curl: 7.54.0 => /usr/bin/curl
9
20
  ```

1

追記

2017/12/27 21:44

投稿

nullpon
nullpon

スコア5739

answer CHANGED
@@ -1,1 +1,9 @@
1
- brew doctorを試して見てください。
1
+ brew doctorを試して見てください。
2
+
3
+ 追記:
4
+ brewでcurlをインストール済みなら以下のコマンドを試してみて下さい。
5
+ システムのcurlではなく/usr/local/opt/curl/bin/curlを使用します。
6
+
7
+ ```bash
8
+ $ HOMEBREW_FORCE_BREWED_CURL="1" brew upgrade
9
+ ```