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

Unable to install to Rails 5.0.0 #44

Open
tobatha opened this issue Aug 11, 2016 · 19 comments
Open

Unable to install to Rails 5.0.0 #44

tobatha opened this issue Aug 11, 2016 · 19 comments

Comments

@tobatha
Copy link

tobatha commented Aug 11, 2016

Hi there,

trying to add to Gemfile following the tut, but no luck, keep erroring like

Bundler could not find compatible versions for gem "activemodel": In snapshot (Gemfile.lock): activemodel (= 5.0.0) In Gemfile: active_model_serializers was resolved to 0.10.2, which depends on activemodel (< 6, >= 4.1) sabisu_rails was resolved to 0.0.2.beta, which depends on activemodel (~> 4.0)

or

Bundler could not find compatible versions for gem "actionpack": In snapshot (Gemfile.lock): actionpack (= 5.0.0) In Gemfile: active_model_serializers was resolved to 0.10.2, which depends on actionpack (< 6, >= 4.1) active_model_serializers was resolved to 0.10.2, which depends on railties (< 6, >= 4.1) was resolved to 5.0.0, which depends on actionpack (= 5.0.0) rspec-rails was resolved to 3.5.1, which depends on actionpack (>= 3.0) sabisu_rails was resolved to 0.0.2.beta, which depends on actionpack (~> 4.0)

using rbenv 0.4.0 & ruby 2.3.1

@tobatha
Copy link
Author

tobatha commented Aug 12, 2016

nobody encountered such issue?

@hanhdt
Copy link

hanhdt commented Aug 12, 2016

Yes, me too, same problems.

@tobatha
Copy link
Author

tobatha commented Aug 13, 2016

i tried maually edit Gemfile.lock with all the compatible versions, it went through but when i called simple_form:install, got several other errors saying no activemodel/type etc.

@uxxman
Copy link

uxxman commented Aug 20, 2016

Same compatibility issues with rails 5

@Rajeev-Jha-RJ
Copy link

Same compatibility issues with rails 5/ruby 2.3.1

@jvrsgsty
Copy link

jvrsgsty commented Sep 6, 2016

@kurenn @thelastinuit @infused @hiimtaylorjones
Are you still maintaining this? Any plans to support Rails 5 soon?

@jvrsgsty
Copy link

jvrsgsty commented Sep 6, 2016

My fork (https://github.com/jvrsgsty/sabisu-rails/) naively updates the .gemspec and appears to be working. I couldn't test it out fully, since I created my Rails 5 app using the api flag, so a couple of warnings pop up regarding Rails not being able to find the JS and CSS for Sabisu, but the form appears to render fine... Anyone running a full Rails 5 app care to try my fork out?
Follow the install instructions on the Readme, watching out for the line

gem 'sabisu_rails', github: "jvrsgsty/sabisu-rails"

@tobatha
Copy link
Author

tobatha commented Sep 7, 2016

cool, will try out ur updates on this~ thanks @jvrsgsty

@dtonal
Copy link

dtonal commented Sep 23, 2016

thanks @jvrsgsty , that helps me a lot!

@jvrsgsty
Copy link

Glad it worked out for you, @dtonal ! Let me know if you run into any issues, still haven't had the chance to thoroughly try this out myself...

@quangrau
Copy link

Still got these error like this

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    rails (~> 5.0.0) was resolved to 5.0.0, which depends on
      railties (= 5.0.0)

    rspec-rails (~> 3.5.0.beta) was resolved to 3.5.2, which depends on
      railties (>= 3.0)

    sass-rails (~> 4.0.0) was resolved to 4.0.0, which depends on
      railties (< 5.0, >= 4.0.0.beta)

Any one have new solution for that?

@jvrsgsty
Copy link

@quangrau What version of sass-rails are you specifying on your Gemfile?
It seems to be working on my project with gem 'sass-rails', '~> 5.0'

@thelastinuit
Copy link
Contributor

Things have been epic around here will clients, products and open source.
BUT we DO plan to upgrade a lot of things!
@jvrsgsty thanks for the support and your fork.

i'll get back to you guys, soon. My apologies.

@Aminocd
Copy link

Aminocd commented Oct 31, 2016

@jvrsgsty

I used your version of the sabisu_rails gem.

'bundle install' works with my current GemFile, seen here:

https://gist.github.com/anonymous/c9301663a16b13aefa45c36d20d2232b

But I'm getting the following error outputted on the webpage when I try to load http://marketplaceapi:3000/sabisu_rails/explorer :

https://gist.github.com/anonymous/97ed75813c30d23ed7a82b6d7a971315

Any suggestions?

EDIT: the second gist link above is not showing the lines of code. Line 132 was
@include appearance($ap: none);

I finally got the sabisu_rails interface to load by going into ~/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/furatto-1.3.7/vendor/assets/stylesheets/furatto/_forms.scss and commenting out line 132, and going into _experimental.scss in the same folder and commenting out line 37: @include flex;

@jvrsgsty
Copy link

jvrsgsty commented Nov 1, 2016

@amincd I will have to get back to you on that, since I am a bit swamped at the moment.
Ideally you shouldn't have to modify furrato's source, though perhanps their gem also needs updating.

Glad you found a workaround, though.

@hiendinhngoc
Copy link

I got the same issue as @amincd , any solution?

@kurenn
Copy link
Owner

kurenn commented Feb 12, 2017

@hiendinhngoc I think for now and your mental health, to skip the sabiduría_rails gem it is not necessary to continue!

@santostiago
Copy link

Still not working with rails 5?

@kurenn
Copy link
Owner

kurenn commented Mar 15, 2017

Not yet... :(

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