Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

administrate engine requires bourbon. fixes #615 #683

Merged
merged 1 commit into from Dec 20, 2016

Conversation

kpheasey
Copy link
Contributor

Continued from #673

@kpheasey
Copy link
Contributor Author

Good point. It looks like we have some dependencies just in the Gemfile, some just in the gemspec, and some in both. Not sure why that happened.

Do you want turn this PR into a migration from using the Gemfile to using the gemspec? Doing that should both fix the bourbon problem and fail the specs when not requiring he proper files.

@JoelQ I don't know enough about administrate to turn the gemfile into a gemspec. The dependencies need to be explicit version ranges. Additionally, I wouldn't know what to do about the staging/production requirements.

@nickcharlton nickcharlton merged commit 576976a into thoughtbot:master Dec 20, 2016
@nickcharlton
Copy link
Member

Thanks for this! I'm electing to pick just the bourbon for now, we'll target others as they happen.

@jipiboily
Copy link

Seems like it's still an issue, right? Or was just never shipped?

@klaseskilson
Copy link
Contributor

@jipiboily This fix hasn't been released yet. It will once > 0.3.0 is released. If you need the fix earlier, point your Gemfile entry towards Github, like so:

gem 'administrate', git: 'https://github.com/thoughtbot/administrate.git'

@jipiboily
Copy link

Thanks for the confirmation. That's what I just did a couple of minutes ago. It felt weird that it was not released 2 months later, so I wanted to double check :) Thanks!

fwolfst pushed a commit to fwolfst/administrate that referenced this pull request Mar 8, 2017
@pedantic-git
Copy link
Contributor

@kpheasey @nickcharlton - there are issues with moving to Bourbon 5 because it no longer ships with an Engine and instead has a generator to add the SCSS files into your asset pipeline.

Which means that if you're using administrate in a project that doesn't use Bourbon (and therefore has not run the generator) you get "File to import not found or unreadable: bourbon".

I think either Administrate needs to ship with the Bourbon 5 SCSS already in its vendor/stylesheets or it needs to remove its dependency on Bourbon, which shouldn't be too hard?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants