How to use social stream in rails 4.0

别来无恙 提交于 2019-12-11 08:05:00

问题


Hello and had problems trying to use this gem would like to know how to fix it add it to my Gemfile

gem "social_stream", "~> 2.2.2"

When I run "bundle install" I get this error in response, that I can do? I am a little new.

  Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    social_stream (~> 2.2.2) ruby depends on
      rails (~> 3.1) ruby

    rails (4.0.0)

as I can use this gem in Rails 4.0 or Rails version change, whether it is advisable to do so?

thanks


回答1:


I"m currently using a fork, although there do seem to be a few bugs to be resolved.

gem 'social_stream', github: 'beder/social_stream'

This fork targets 4.0.9




回答2:


I had the same question two weeks ago. Unfortunately, Social Stream is not yet ready for use with rails 4.

But the support to change this, is very welcome.

See: https://github.com/ging/social_stream/issues/465



来源:https://stackoverflow.com/questions/19533404/how-to-use-social-stream-in-rails-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!