railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.88k stars 2.25k forks source link

Sass::SyntaxError: File to import not found or unreadable: rails_admin/themes/true/variables. #2799

Closed arthurstefe closed 5 years ago

arthurstefe commented 7 years ago

Hey, I'm getting this error and I can't fix it... I hope you guys help me!

I had in production a version in "production" that was working well. Then I merged some new commits and tried to deploy them to this enviroment today and got this error:

Sass::SyntaxError: File to import not found or unreadable: rails_admin/themes/true/variables.

After many attempts I deleted all files that were in this production enviroment and tried to deploy that version that was originally there. But when did that, I got the same error!

I can't understand this, I had a version working and now the same version dosen't. It seems that the rails_admin version is the same, so I can't figure it out.

PS: I'm using rails_admin rollincode theme

taraujo310 commented 7 years ago

I'm getting this error too!

taraujo310 commented 7 years ago

I found the problem! I had an error in RAILS_ADMIN_THEME env variable.

The rails_admin.scss.erb file use this variable to find the theme files.