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

Rails 5.02 Bundler could not find compatible versions for gem "actionpack" and gem "sprockets" #48

Open
mberlanda opened this issue Mar 27, 2017 · 5 comments

Comments

@mberlanda
Copy link

I have added the following to my Gemfile:

gem 'sabisu_rails', github: "IcaliaLabs/sabisu-rails"
gem 'compass-rails'
gem 'furatto'
gem 'font-awesome-rails'
gem 'simple_form'

And I get the following error:

Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    active_model_serializers was resolved to 0.10.5, which depends on
      actionpack (< 6, >= 4.1)

    furatto was resolved to 1.4.0, which depends on
      actionpack (>= 3.1)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      actionpack (= 5.0.2)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      actionpack (= 5.0.2)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      actionpack (= 5.0.2)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      actionpack (= 5.0.2)

    rspec-rails (~> 3.5) was resolved to 3.5.2, which depends on
      actionpack (>= 3.0)

    sabisu_rails was resolved to 0.0.2.beta, which depends on
      actionpack (~> 4.0)

    simple_form was resolved to 3.4.0, which depends on
      actionpack (< 5.1, > 4)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      sprockets-rails (>= 2.0.0) was resolved to 3.2.0, which depends on
        actionpack (>= 4.0)
Bundler could not find compatible versions for gem "sprockets":
  In Gemfile:
    compass-rails was resolved to 2.0.2, which depends on
      sprockets (< 4.0)

    furatto was resolved to 1.4.0, which depends on
      compass-rails (~> 2.0) was resolved to 2.0.2, which depends on
        sprockets (< 2.13)

    sass-rails (~> 5.0) was resolved to 5.0.6, which depends on
      sprockets (< 4.0, >= 2.8)

    rails (~> 5.0.2) was resolved to 5.0.2, which depends on
      sprockets-rails (>= 2.0.0) was resolved to 3.2.0, which depends on
        sprockets (>= 3.0.0)

It seems that the main issues are related to:

  • sabisu_rails was resolved to 0.0.2.beta, which depends on actionpack (~> 4.0)
  • furatto was resolved to 1.4.0, which depends on compass-rails (~> 2.0) was resolved to 2.0.2, which depends on sprockets (< 2.13)

Do you have any suggestion different from downgrading my rails gem version?

Thank you

@kurenn
Copy link
Owner

kurenn commented Apr 25, 2017

Currently, not, but if you are following the book, I can say you can skip the sabiduría section 😢

@mberlanda
Copy link
Author

@kurenn this is actually what I did, but it would be useful to use the features offered by this gem.

I had a look at the broken dependencies and it seems that it should be easier to fix the issue with [gem furatto] (https://github.com/IcaliaLabs/furatto-rails). However, given this open issue, I am not 100% sure that it would be enough to update the dependency to compass-rails 3.0.2.
Moreover I am not aware of the impact that the upgrade from rails 4 to rails 5 would have on your gem (activemodel, actionpack).

In case this project is not planned to be maintained for Rails 5, would you have any alternative to suggest in order to achieve the same result? Otherwise, I would be pleased to contribute.

@kurenn
Copy link
Owner

kurenn commented May 24, 2017

@mberlanda For now you can use something like postman, it is a chrome extension and the interface is really similar to the one on sabisu...

@theasteve
Copy link

@kurenn So if using rails 5 , skip the Sabisu section? You should release a new version of this book ! Its the best book so far I read on APIs but it sucks its on rails 4 :(

@kurenn
Copy link
Owner

kurenn commented Mar 16, 2018

@theasteve Yeah, skip that section, sorry about the inconvenience

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

3 participants