I messed up a bit by deleting several models, so I decided to drop the whole table and restart the migration to start a new job. However, after running db: seed (even if the seed is completely empty), I get the following error:
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
rake aborted!
SystemStackError: stack level too deep
Tasks: TOP => db:seed
I have no idea where this is from. I have addressed this issue, but none of the solutions seem to apply to my situation. I donβt quite understand what I should look at, so if you need more information, please tell me!
Since there are some states that this may be a problem with gems, here is my gem file:
source 'https://rubygems.org'
ruby '2.0.0'
gem 'rails', '4.0.4'
gem 'bootstrap-sass', '2.3.2.0'
gem 'sprockets', '2.11.0'
group :development, :test do
gem 'sqlite3', '1.3.8'
gem 'rspec-rails', '2.13.1'
end
group :test do
gem 'selenium-webdriver', '2.35.1'
gem 'capybara', '2.1.0'
end
gem 'sass-rails', '4.0.1'
gem 'uglifier', '2.1.1'
gem 'coffee-rails', '4.0.1'
gem 'jquery-rails', '3.0.4'
gem 'turbolinks', '1.1.1'
gem 'jbuilder', '1.0.2'
gem 'omniauth-facebook'
group :doc do
gem 'sdoc', '0.3.20', require: false
end
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
Thank you in advance!
user3660387
source
share