Bundler could not find compatible versions for gem "activesupport"

68 views
Skip to first unread message

Alexander Timoshilov

unread,
Jul 2, 2014, 9:55:12 AM7/2/14
to rubyonra...@googlegroups.com
I tried to set up Searchlogic gem to my blog app and got an error:
Bundler could not find compatible versions for gem "activesupport":
 
In Gemfile:
    searchlogic
(~> 2.5.17) x86-mingw32 depends on
      activesupport
(~> 2.3.12) x86-mingw32

    rails
(= 4.1.1) x86-mingw32 depends on
      activesupport
(4.1.1)


Any solutions?

Frederick Cheung

unread,
Jul 2, 2014, 10:40:05 AM7/2/14
to rubyonra...@googlegroups.com
It means that searchlogic is only compatible with rails 2.3.x but that you're using rails 4.1.1. Judging by the gem's github page it's not really being maintained - either find a fork that is maintained (and has been updated for newer versions of rails) or pick a different gem

Fred

Matt Jones

unread,
Jul 3, 2014, 9:36:12 AM7/3/14
to rubyonra...@googlegroups.com
You'll need to find something besides Searchlogic, it's no longer maintained. I've seen recommendations for Ransack:


but haven't used it myself.

--Matt Jones 

Walter Lee Davis

unread,
Jul 3, 2014, 10:06:01 AM7/3/14
to rubyonra...@googlegroups.com
I've used ransack, but lately I've used scoped_search instead. Both work just fine, which one you use depends on how you want to construct your search forms.

Walter

> --Matt Jones
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f1ecde8a-189c-4b8e-8c61-535e01acbd7e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages