sabisu-rails icon indicating copy to clipboard operation
sabisu-rails copied to clipboard

Unable to install to Rails 5.0.0

Open tobatha opened this issue 8 years ago • 19 comments

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 avatar Aug 11 '16 09:08 tobatha

nobody encountered such issue?

tobatha avatar Aug 12 '16 10:08 tobatha

Yes, me too, same problems.

hanhdt avatar Aug 12 '16 16:08 hanhdt

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.

tobatha avatar Aug 13 '16 02:08 tobatha

Same compatibility issues with rails 5

uxxman avatar Aug 20 '16 12:08 uxxman

Same compatibility issues with rails 5/ruby 2.3.1

Rajeev-Jha-RJ avatar Aug 29 '16 03:08 Rajeev-Jha-RJ

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

jvrsgsty avatar Sep 06 '16 17:09 jvrsgsty

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"

jvrsgsty avatar Sep 06 '16 18:09 jvrsgsty

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

tobatha avatar Sep 07 '16 10:09 tobatha

thanks @jvrsgsty , that helps me a lot!

dtonal avatar Sep 23 '16 18:09 dtonal

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...

jvrsgsty avatar Sep 26 '16 13:09 jvrsgsty

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?

quangrau avatar Oct 19 '16 02:10 quangrau

@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'

jvrsgsty avatar Oct 19 '16 16:10 jvrsgsty

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.

thelastinuit avatar Oct 19 '16 18:10 thelastinuit

@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;

Aminocd avatar Oct 31 '16 09:10 Aminocd

@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.

jvrsgsty avatar Nov 01 '16 16:11 jvrsgsty

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

hiendinhngoc avatar Feb 03 '17 04:02 hiendinhngoc

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

kurenn avatar Feb 12 '17 19:02 kurenn

Still not working with rails 5?

santostiago avatar Mar 08 '17 17:03 santostiago

Not yet... :(

kurenn avatar Mar 15 '17 18:03 kurenn