igorkasyanchuk / rails_db

Rails Database Viewer and SQL Query Runner
https://www.railsjazz.com/
MIT License
1.46k stars 111 forks source link

font-awesome gem clash #5

Closed mkhairi closed 8 years ago

mkhairi commented 8 years ago

i'm using official font-aweseome gem gem 'font-awesome-sass'. look like it has been override load with rails_db dependency gem 'font-awesome-rails' how to avoid this?

igorkasyanchuk commented 8 years ago

what exactly not works? BTW font-awesome-rails is more popular based on stars number on github

mkhairi commented 8 years ago

Can't deny on that popularity. font-awesome-rails now already 4 years old while font-awesome-sass born 2 years ago. Just a small issue here, i can't extend or override font-awesome variable. that all.

igorkasyanchuk commented 8 years ago

How this clash looks? I want to understand better the error. Please provide more details. Thanks

mkhairi commented 8 years ago

technically both gem use the same name require css/sass *= require font-awesome or @import "font-awesome"; file. so i guest conflict will happen here.

igorkasyanchuk commented 8 years ago

"will happen"? or happening already?

mkhairi commented 8 years ago

happening already, @import "font-awesome"; loaded from gem 'font-awesome-rails' which is non sass version of font-awesome

igorkasyanchuk commented 8 years ago

I see, thanks

BTW maybe adding "font-awesome-sass/font-awesome", or something like that can help?

mkhairi commented 8 years ago

Yeah, load with extension can avoid this conflict @import "font-awesome.scss";. Thanks.