vinhnglx / active_bootstrap_skin

Bootstrap skin for Active Admin :rocket: :rocket: :rocket:
MIT License
134 stars 28 forks source link

File to import not found or unreadable: active_bootstrap_skin #2

Closed jasper502 closed 8 years ago

jasper502 commented 8 years ago

Tried it out - no luck right off the bat:

File to import not found or unreadable: active_bootstrap_skin

vinhnglx commented 8 years ago

@jasper502 I guess you have to setup the bootstrap-sass gem first. Because the gem require we need to have bootstrap first. Btw, I think the README file is not clear, I'll update right now.

jasper502 commented 8 years ago

I do have the bootstrap-sass gem installed - I already had it.

vinhnglx commented 8 years ago

Did you import the bootstrap in application.css.scss?

@import "bootstrap-sprockets"; @import "bootstrap";

vinhnglx commented 8 years ago

Could you show me the full error message in your terminal?

jasper502 commented 8 years ago

https://gist.github.com/jasper502/26d6aebc8efb48a62625d3f8e5cd963b

jasper502 commented 8 years ago

I do have those two @imports declared

vinhnglx commented 8 years ago

@jasper502 i saw this error, let me check it and fix soon.

vinhnglx commented 8 years ago

@jasper502 could you please try again?. I have just fixed this error in PR #3 and release a new version(https://github.com/vinhnglx/active_bootstrap_skin/releases/tag/v0.1.1) for this hotfix.

jasper502 commented 8 years ago

ran bundle update (confirmed it bumped to 0.1.1), restarted the server but still have the same error.

okliv commented 8 years ago

+1

lukasz-wojcik commented 8 years ago

The issue is simple in this case. when executed bundle show active_bootstrap_skin it show the directory where gem is installed. In there I have seen only lib and bin folder so no app folder with assets is actually loaded ;)

6 Fixes that problem

vinhnglx commented 8 years ago

@sonar0007 I knew this problem, too. I tried to fix. I'll merge you PR and build again. Thanks so much.

vinhnglx commented 8 years ago

@jasper502 could you try again? I merged and release the Sonna007's PR. ( #6 )

jasper502 commented 8 years ago

All good now - thanks!