Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating from Rails 4.0 to 4.1 gives sass-rails railties version conflicts

I'm trying to update my Rails 4.0 app to 4.1. The app uses sass-rails, and when I try to update it using bundle update rails I get the following error:

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    rails (= 4.1) ruby depends on
      railties (= 4.1.0) ruby

    sass-rails (~> 4.0) ruby depends on
      railties (4.1.1)

Any idea how to work around it or fix it?

like image 755
pgb Avatar asked May 15 '14 19:05

pgb


2 Answers

The latest version of sass rails solves this issue:

gem 'sass-rails', '~> 5.0.0.beta1'
like image 190
Jeremy Lynch Avatar answered Sep 30 '22 17:09

Jeremy Lynch


From comments, update to:

gem 'rails', '~> 4.1.1'
like image 21
zishe Avatar answered Sep 30 '22 19:09

zishe