kurenn / sabisu-rails

Simple and powerful engine for exploring your Rails api application
MIT License
127 stars 29 forks source link

Unable to install to Rails 5.0.0 #44

Open tobatha opened 8 years ago

tobatha commented 8 years ago

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 commented 8 years ago

nobody encountered such issue?

hanhdt commented 8 years ago

Yes, me too, same problems.

tobatha commented 8 years ago

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 commented 8 years ago

Same compatibility issues with rails 5

Rajeev-Jha-RJ commented 8 years ago

Same compatibility issues with rails 5/ruby 2.3.1

jvrsgsty commented 8 years ago

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

jvrsgsty commented 8 years ago

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 commented 8 years ago

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

dtonal commented 7 years ago

thanks @jvrsgsty , that helps me a lot!

jvrsgsty commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

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

kurenn commented 7 years ago

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

santostiago commented 7 years ago

Still not working with rails 5?

kurenn commented 7 years ago

Not yet... :(