StartupInstituteChicago / Spring2014HerbPreintz

0 stars 0 forks source link

Text chat using Ryan Bates private_pub #8

Open hpreinitz opened 10 years ago

hpreinitz commented 10 years ago

I posted this to ryanb / private_pub on github:

I get this error with bundle for private_pub

An error occurred while installing hiredis (0.3.2), and Bundler cannot continue. Make sure that gem install hiredis -v '0.3.2' succeeds before bundling.

Mavericks, Ruby 2.1.1, Rails 4.0.4

This is the closest to the problem that i've found so far. https://github.com/redis/hiredis-rb/issues/9

Which basically says: it works for 0.4.3 but you're out of luck for projects that use 0.3.2.

A lot of the RubyGems haven't been updated for Ruby 2.1.1 and Rails 4.0.4.

The easiest solution seems to be to use Ruby 1.9 and Rails 3.

As far as I know, different versions of Ruby and Rails can be installed on the same machine without conflicting.

Does anyone have an alternative idea for implementing asynchronous real time chat in rails?

dcphillip commented 10 years ago

Herb,

Are you using RVM?

hpreinitz commented 10 years ago

Yes, i am using RVM.

dcphillip commented 10 years ago

You should be able to use RVM to manage which versions of ruby or gems (rails) you want to use. I'd suggest using RVM to set which versions you want to use to be compatible for hiredis or check http://rubygems.org/ for an alternative that will work with Ruby 2.1 and Rails 4.