Open eduarmreyes opened 5 years ago
I also see this on Rails 5.1. It did work once, then I needed to reinstall, and when I did so I saw this problem.
I partially resolved this. First time round the lit migrations failed to run. When I sorted that issue, I ran the install again twice and it all worked...
Here it seems to have to do with Lit:Locale.table_exists? although it exists in the database, it returns false, therefore Lit:init failes and hell breaks loose.
There are new releases but this install problem still exist :-( ruby 2.7.1, rails 6.1.3
I ran into this issue as well. My solution was just to run rails db:migrate
in order to make sure the Lit database tables exist. The reason that rails app does not warn to run the migrations is probably: https://github.com/prograils/lit/blob/dc11ab3415524d16a6dfe40b130a07248dc65f2b/lib/lit/engine.rb#L22
I'm not sure if this is regarding the version of my development environment but I can't finish the installation process.
ruby --version
ruby 2.3.6p384 (2017-12-14 revision 61254) [x86_64-linux]
rails --version
Rails 4.2.11
Error is
Error is raised in this line of code:
Rails console test