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

Issue with administrate-field-image #717

Closed
dts opened this issue Dec 20, 2016 · 2 comments
Closed

Issue with administrate-field-image #717

dts opened this issue Dec 20, 2016 · 2 comments

Comments

@dts
Copy link

dts commented Dec 20, 2016

I'm trying to build off of the administrate-field-image gem example (my gem is here: https://github.com/TheHumanEffort/administrate-field-refile/blob/master/administrate-field-refile.gemspec). I am running into some problems with the basic structure. When I add the gem to my Gemfile (gem 'administrate-field-image', github: 'thoughtbot/administrate-field-image', branch: 'master' ) and bundle install, I get the following error:

Fetching git://github.com/thoughtbot/administrate-field-image.git

[!] There was an error while loading `administrate-field-image.gemspec`: cannot load such file -- administrate/field/base
Does it try to require a relative path? That's been removed in Ruby 1.9. Bundler cannot continue.

 #  from /usr/local/bundle/bundler/gems/administrate-field-image-c7cd88ae8dc2/administrate-field-image.gemspec:3
 #  -------------------------------------------
 #
 >  require "administrate/field/image"
 #
 #  -------------------------------------------
 $ bin/bundle version
Bundler version 1.13.6

I'm not entirely sure how to proceed, as my usual google-fu is failing me.

@nickcharlton
Copy link
Member

It's a recursive include …as far as I understand it.

I recently opened a PR which fixed this on another gem based on administrate-field-image: eddietejeda/administrate-field-json#11

There's a few open PRs on Grayson's original administrate-field-image which should help you: https://github.com/graysonwright/administrate-field-image

A job for the future is to rationalise these two repos and pick one.

@dts
Copy link
Author

dts commented Dec 20, 2016

Big ups for the <15min response time! Wowee zowee. thoughtbot/administrate-field-image@7686c92 was the fix I needed. Thanks!

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

2 participants