Rubyエラー集
Rubyエラー対応集
Rubyインストール時
The `rails' command exists in these Ruby versions:
# gem のupdate $ gem update --system # bundler のinstall $ gem install bundler # rails のinstall $ gem install rails
はまったらこれ
- Gemを入れ直す
gem uninstall all
$ gem install bundler $ rm Gemfile.lock $ bundle install
新しくScaffoldしたらActiveRecord::PendingMigrationError と出た
bundle exec rake db:migrate