rubysherpas / forem

The best Rails 3 and Rails 4 forum engine. Ever.
http://forem.herokuapp.com
MIT License
1.55k stars 422 forks source link

Not installable in Rails 4.2.3 #680

Closed Quintasan closed 9 years ago

Quintasan commented 9 years ago

Hi,

640 is apparently fixed but I can't install forem in my project:

Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    forem (>= 0) ruby depends on
      rails (!= 4.2.0, != 4.2.1, != 4.2.2, != 4.2.3, ~> 4.0) ruby

    rails (4.2.3)

My Gemfile:

source 'https://rubygems.org'

ruby '2.1.5'

gem 'rails', '4.2.3'
gem 'rails-i18n', '4.0.4'
gem 'sqlite3', '1.3.10'
gem 'sass-rails', '5.0.3'
gem 'bootstrap-sass', '3.3.3'
gem 'font-awesome-sass', '4.3.0'
gem 'uglifier', '2.7.1'
gem 'coffee-rails', '4.1.0'
gem 'jquery-rails', '4.0.4'
gem 'turbolinks', '2.5.3'
gem 'jbuilder', '2.3.1'
gem 'bcrypt', '3.1.10'
gem 'unicorn', '4.9.0'
gem 'migrant', '1.5.0'
gem 'haml-rails', '0.9.0'
gem 'simple_form', '3.1.0'
gem 'nested_form', '0.3.2'
gem 'strip_params', '0.0.1'
gem 'paperclip', '4.3.0'
gem 'cancancan', '1.12.0'
gem 'will_paginate-bootstrap', '1.0.1' # Includes 'will_paginate' gem.
gem 'will-paginate-i18n', '0.1.15'
gem 'faker', '1.5.0'
gem 'factory_girl_rails', '4.5.0'
gem 'actionview-encoded_mail_to', '1.0.7'
gem 'twitter', '5.14'
gem 'rinku', '1.7.3', require: 'rails_rinku'
gem 'forem', :github => "radar/forem", :branch => "rails4"

gem 'sdoc', '0.4.1', group: :doc
gem 'annotate', '2.6.10'
gem 'therubyracer', platforms: :ruby

gem 'activeadmin', github: 'activeadmin'
gem 'ckeditor', github: 'galetahub/ckeditor'

gem 'angularjs-rails', '1.3.10'

gem 'devise', '3.5.2'
gem 'devise-i18n', '0.12.1'
gem 'omniauth', '1.2.2'
gem 'omniauth-facebook', '2.0.1'
gem 'omniauth-twitter', '1.2.1'
gem 'omniauth-linkedin', '0.2.0'

# Debugging.
gem 'exception_notification', '4.1.1'
gem 'exception_notification-rake', '0.2.1'
gem 'raygun4ruby', '1.1.6'

# Locations
gem 'geocoder'

# Following objects
gem 'acts_as_follower'

# Users activity
gem 'public_activity'

group :development do
  gem 'thin', '1.6.3'

  gem 'capistrano', '3.4.0'
  gem 'capistrano-rvm', '0.1.2'
  gem 'capistrano-bundler', '1.1.4'
  gem 'capistrano-rails', '1.1.3'

  gem 'railroady', '1.3.1'
end

group :development, :test do
  gem 'pry-byebug'
  gem 'web-console', '~> 2.0'
  gem 'spring'

  gem 'rspec-rails', '~> 3.0'

  gem 'capybara', '2.4.4'
  gem 'capybara-webkit', '1.4.0'
  gem 'database_cleaner', '1.4.0'
  gem 'webmock', '1.7.10', require: false
  gem 'selenium-webdriver', '2.44.0', require: false
  gem 'chromedriver-helper', '0.0.8'
  gem 'formulaic', github: 'thoughtbot/formulaic'

  # To testing Geocoder
  gem 'fakeweb'

  gem 'rubocop', require: false
  gem 'haml_lint', require: false
  gem 'scss_lint', require: false
  gem 'ruby-lint', require: false
  gem 'coffeelint', require: false
end
radar commented 9 years ago

Use 4.2.4.

On 1 Sep 2015, at 18:30, Michał Zając notifications@github.com wrote:

Hi,

640 is apparently fixed but I can't install forem in my project:

Bundler could not find compatible versions for gem "rails": In Gemfile: forem (>= 0) ruby depends on rails (!= 4.2.0, != 4.2.1, != 4.2.2, != 4.2.3, ~> 4.0) ruby

rails (4.2.3)

My Gemfile:

source 'https://rubygems.org'

ruby '2.1.5'

gem 'rails', '4.2.3' gem 'rails-i18n', '4.0.4' gem 'sqlite3', '1.3.10' gem 'sass-rails', '5.0.3' gem 'bootstrap-sass', '3.3.3' gem 'font-awesome-sass', '4.3.0' gem 'uglifier', '2.7.1' gem 'coffee-rails', '4.1.0' gem 'jquery-rails', '4.0.4' gem 'turbolinks', '2.5.3' gem 'jbuilder', '2.3.1' gem 'bcrypt', '3.1.10' gem 'unicorn', '4.9.0' gem 'migrant', '1.5.0' gem 'haml-rails', '0.9.0' gem 'simple_form', '3.1.0' gem 'nested_form', '0.3.2' gem 'strip_params', '0.0.1' gem 'paperclip', '4.3.0' gem 'cancancan', '1.12.0' gem 'will_paginate-bootstrap', '1.0.1' # Includes 'will_paginate' gem. gem 'will-paginate-i18n', '0.1.15' gem 'faker', '1.5.0' gem 'factory_girl_rails', '4.5.0' gem 'actionview-encoded_mail_to', '1.0.7' gem 'twitter', '5.14' gem 'rinku', '1.7.3', require: 'rails_rinku' gem 'forem', :github => "radar/forem", :branch => "rails4"

gem 'sdoc', '0.4.1', group: :doc gem 'annotate', '2.6.10' gem 'therubyracer', platforms: :ruby

gem 'activeadmin', github: 'activeadmin' gem 'ckeditor', github: 'galetahub/ckeditor'

gem 'angularjs-rails', '1.3.10'

gem 'devise', '3.5.2' gem 'devise-i18n', '0.12.1' gem 'omniauth', '1.2.2' gem 'omniauth-facebook', '2.0.1' gem 'omniauth-twitter', '1.2.1' gem 'omniauth-linkedin', '0.2.0'

Debugging.

gem 'exception_notification', '4.1.1' gem 'exception_notification-rake', '0.2.1' gem 'raygun4ruby', '1.1.6'

Locations

gem 'geocoder'

Following objects

gem 'acts_as_follower'

Users activity

gem 'public_activity'

group :development do gem 'thin', '1.6.3'

gem 'capistrano', '3.4.0' gem 'capistrano-rvm', '0.1.2' gem 'capistrano-bundler', '1.1.4' gem 'capistrano-rails', '1.1.3'

gem 'railroady', '1.3.1' end

group :development, :test do gem 'pry-byebug' gem 'web-console', '~> 2.0' gem 'spring'

gem 'rspec-rails', '~> 3.0'

gem 'capybara', '2.4.4' gem 'capybara-webkit', '1.4.0' gem 'database_cleaner', '1.4.0' gem 'webmock', '1.7.10', require: false gem 'selenium-webdriver', '2.44.0', require: false gem 'chromedriver-helper', '0.0.8' gem 'formulaic', github: 'thoughtbot/formulaic'

To testing Geocoder

gem 'fakeweb'

gem 'rubocop', require: false gem 'haml_lint', require: false gem 'scss_lint', require: false gem 'ruby-lint', require: false gem 'coffeelint', require: false end — Reply to this email directly or view it on GitHub.

radar commented 9 years ago

I really should be more specific: the versions that are "banned" in the gem spec have a bug in them which prevents view counts from being correct. 4.2.4 fixed this issue and so this version is the only one permitted so far in the 4.2 series.

xuliaP commented 9 years ago

On heroku writes:

Bundler could not find compatible versions for gem "rails": In Gemfile: forem (>= 0) ruby depends on rails (!= 4.2.0, != 4.2.1, != 4.2.2, != 4.2.3, ~> 4.0) ruby
rails (= 4.2.0) ruby ! ! Failed to install gems via Bundler. ! ! Push rejected, failed to compile Ruby app

radar commented 9 years ago

Why do you ignore the comment I wrote above?