nextcloud icon indicating copy to clipboard operation
nextcloud copied to clipboard

Not working for Activesupport >5.x

Open jensb opened this issue 2 years ago • 3 comments

I am trying to use the gem with a Ruby on Rails 7 app. This fails:

$ bundle
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Resolving dependencies...
Resolving dependencies...
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    nextcloud was resolved to 1.3.2, which depends on
      activesupport (~> 5.1)

    rails (~> 7.0.4) was resolved to 7.0.4, which depends on
      activesupport (= 7.0.4)

Is this an intentional restriction, or can we just change ActiveSupport requirements to "any"?

jensb avatar Feb 12 '23 13:02 jensb

See also https://github.com/dachinat/nextcloud/pull/29. Can we merge this?

jensb avatar Feb 12 '23 13:02 jensb

Hi, any way to do this? I need this gem in Ruby 6 and it does not work...

hdbreaker avatar Jan 26 '24 20:01 hdbreaker

I don't know. I eventually gave up and used the HTTParty gem to call the Nextcloud API endpoints manually.

jensb avatar Jan 27 '24 10:01 jensb