0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

8.26

Posted at

今日の日記メモ

Railsの環境作成に挑む
cmd+shift+. ホームディレクトリでのファイルを出す

試した

x21024xx@x21024xxnoAir ~ % echo $SHELL
/bin/zsh
x21024xx@x21024xxnoAir ~ % echo ‘eval “$(rbenv init -)”’ >> ~/.zshrc
x21024xx@x21024xxnoAir ~ % source ~/.zshrc
/Users/x21024xx/.zshrc:1: parse error near `then'
x21024xx@x21024xxnoAir ~ % 

なぜか echo ‘eval “$(rbenv init -)”’ >> ~/.zshrc が上手くいかない
↓ .zshenv の中身

‘eval “export PATH="/Users/x21024xx/.rbenv/shims:${PATH}" export RBENV_SHELL=zsh source '/opt/homebrew/Cellar/rbenv/1.2.0/libexec/../completions/rbenv.zsh' 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 }”’

chatgptに聞いた方法もだめ

掲示板かなんかで聞いてみようかな

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?