Railsの環境構築の時この様なエラーがでます。多分フォルダをつくる前にRailsをインストールしてしまったせいだと思います。誰か解決法を教えてください。
failed to load command: rails (/usr/local/bin/rails)
Gem::Exception: can't find executable rails for gem railties. railties is not currently included in the bundle, perhaps you meant to add it to your Gemfile?
/Library/Ruby/Gems/2.3.0/gems/bundler-1.16.3/lib/bundler/rubygems_integration.rb:462:in block in replace_bin_path' /Library/Ruby/Gems/2.3.0/gems/bundler-1.16.3/lib/bundler/rubygems_integration.rb:493:in
block in replace_bin_path'
/usr/local/bin/rails:22:in `<top (required)>'
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。