ターミナルを起動する度に下記のエラーが発生するようになりました。
Last login: Thu Aug 23 22:07:14 on ttys000 -bash: export: `export PATH="/Users/home/.rbenv/shims:${PATH}" export RBENV_SHELL=bash source '/usr/local/Cellar/rbenv/1.1.1/libexec/../completions/rbenv.bash' command rbenv rehash 2>/dev/null rbenv() { local command command="$1" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(rbenv "sh-$command" "$@")";; *) command rbenv "$command" "$@";; esac }': not a valid identifier -bash: rbenv: command not found -bash: rbenv: command not found ユーザー名-no-MacBook-Air:~ home$
恐らく数ヶ月前にRuby on Railsに挑戦しようとして
何かをインストールする地点でうまくいかず放置していた名残だと思います…
このエラーのせいか、Composerで別のものを入れようとしても
-bash: composer: command not found
と返されてしまい困っています。
対処法(コマンド)を教えていただけると幸いです。
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー