Skip to content

Rails 5 Compatibility #20

@danjebs

Description

@danjebs

Hi,

I'm setting up a new project and it seems that Bootflat Rails isn't compatible here. Seems bootstrap-rails is dependent on jquery-rails ~3.1, which depends on railties < 5.0 (which won't work for rails 5.

When running bundle install, I'm getting the following error:

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    jquery-rails (~> 3.1) was resolved to 3.1.0, which depends on
      railties (< 5.0, >= 3.0)

    rails (~> 5.0.1) was resolved to 5.0.1, which depends on
      railties (= 5.0.1)

My Gemfile is as follows:

gem 'rails', '~> 5.0.1'
gem 'puma', '~> 3.0'
gem 'sass-rails', '~> 5.0'
gem 'bootstrap-sass',           '3.3.6'
gem 'bootflat-rails',           '0.1.8'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'jquery-rails', '~>3.1'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'

Googling hasn't found anyone that resolved it...anyone managed to work around it?

Thanks,
Dan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions