こんにちは。現在MAMPの開発環境で、mysqlにパスを通す作業をしております。
しかしターミナル起動時、もしくはsource .bash_profileを入力したときに
-bash: export: `.bath_profile': not a valid identifier -bash: evalexport PATH="/Users/ユーザー名/.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="{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"inrehash|shell)eval"command"inrehash|shell)eval"(rbenv "sh-command""command""@")";; *) command rbenv "command""command""@";; esac }: No such file or directory -bash: ‘export: command not found -bash: ‘export: command not found -bash: ‘export: command not found -bash: ‘export: command not found -bash: ‘export: command not found
というコマンドが出てきます。
これはどういうことなのでしょうか?
以前ruby on rails の開発環境を構築しようとして挫折したことがあり、その影響では?と考えています。
どなたか解決策を教えていただいてもよろしいですか?
プログラムコード(およびエラーメッセージ)は質問内容としては最も重要な部分であるため、見やすくしていただけると助かります。<code>ボタン押下→「コード」部分にコードを貼り付け→「ここに言語を入力」に対象言語名記入(エラーメッセージの場合は不要)の手順で「コードハイライト化」してください。(質問編集画面ではリアルタイムでプレビューが表示されるので見ながら調整してください)