mojaveにあげたらrails 使えんくなったよ〜
mojaveにあげたら、rails sもrails -vもできなくなってしまいました。
$ rails -v
rbenv: rails: command not found
The `rails' command exists in these Ruby versions:
2.3.1
2.3.3
2.5.0
ということで、方法を箇条書きで
command_line toolを最新のものにする。
bundlerがうまく入ってなかったので、
bundler のversiionを指定してinstall
gemfile.lockと照らし合わせて、bundler -vがずれていたらGemfile.lockを削除
自分の場合は、gemfileのruby -vがずれていたので修正 1.1.0 => 1.1.1みたいに
その状態でbundle installしました。
解決。
あと、記事見たらいいねください。。。
Author And Source
この問題について(mojaveにあげたらrails 使えんくなったよ〜), 我々は、より多くの情報をここで見つけました https://qiita.com/dossy/items/083a0ac9b04a3dfecf93著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .