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

v0.2.0 is still requiring the image field #561

Closed
mathieul opened this issue Apr 21, 2016 · 7 comments
Closed

v0.2.0 is still requiring the image field #561

mathieul opened this issue Apr 21, 2016 · 7 comments

Comments

@mathieul
Copy link

Thank you so much for administrate, it is such a pleasure to use after rails_admin and activeadmin.

I've just upgraded to 0.2.0 but my application can't start, getting the following LoadError exception message: cannot load such file -- administrate/field/image.

It appears that administrate/base_dashboard.rb is still requiring administrate/field/image.

@adamniedzielski
Copy link

I encountered the very same error. I confirm that adding gem "administrate-field-image" to the Gemfile fixes it.

@jkostolansky
Copy link

There's already a PR:
#560

@HenryTimelessness
Copy link

HenryTimelessness commented Apr 28, 2016

It's listed in breaking changes
https://github.com/thoughtbot/administrate/releases/tag/v0.2.0

@mathieul
Copy link
Author

The breaking change is that if you use the image field, you need to include the new administrate-field-image gem.

The problem here is that if you don't use the image field, administrate still requires the image field, which breaks if you don't require the gem.

@rubydesign
Copy link

For the average user (just using the administrative gem) this means the gem is effectively broken.

I'm not sure how the tests for the gem are still green. I would suggest a new version with the fix #560 quickly.

@BenMorganIO
Copy link
Collaborator

0.2.2 has been released. Closing this now :)

@BenMorganIO
Copy link
Collaborator

👏 @yujinakayama for the fix

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

No branches or pull requests

6 participants