Askar
Askar

Reputation: 5854

Error upgrading rails from 5.0.0.rc1 to 5.0.0.rc2

OS: Mac OS X El-Captain current rails version: 5.0.0.rc1 ruby version: 2.3.1p112

I'm having following error. Googling and searching on Stack Overflow didn't give any results.

gem install rails -v 5.0.0.rc2

ERROR:  While executing gem ... (Gem::Resolver::Molinillo::CircularDependencyError)
    There is a circular dependency between camping and rack

Upvotes: 1

Views: 189

Answers (2)

src2012
src2012

Reputation: 119

This appears to be related to out of date system gems. I encountered it installing bundler. I cleared it by entering :

gem update --system

I can install latest ruby, bundler, rails, and all works fine.

I'm running OS X 10.11.6.

Best, John

Upvotes: 1

Chris Saylor
Chris Saylor

Reputation: 166

I had to uninstall my version of Ruby (2.3.1) and re-install. Then running gem install rails --pre worked.

I use rbenv and ruby-build. The instructions for removing Ruby are found here, https://github.com/rbenv/rbenv#uninstalling-ruby-versions.

Upvotes: 1

Related Questions