Skip to content

Instantly share code, notes, and snippets.

@9cardinals
Created November 24, 2013 23:56
Show Gist options
  • Save 9cardinals/7634206 to your computer and use it in GitHub Desktop.
Save 9cardinals/7634206 to your computer and use it in GitHub Desktop.
new error after correcting gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.1'
# Use sqlite3 as the database for Active Record
group :production do
gem 'pg'
end
group :development do
gem 'sqlite3'
end
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'bootstrap-sass', '~> 2.3.1.0'
gem 'uglifier', '>= 1.0.3'
end
error:
vera:bloccit monicacardinal$ bundle install
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
You have requested:
coffee-rails ~> 3.2.1
The bundle currently has coffee-rails locked at 4.0.1.
Try running `bundle update coffee-rails`
vera:bloccit monicacardinal$ bundle update coffee-rails
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "railties":
In Gemfile:
coffee-rails (~> 3.2.1) ruby depends on
railties (~> 3.2.0.beta) ruby
rails (= 4.0.1) ruby depends on
railties (4.0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment