Skip to content

Instantly share code, notes, and snippets.

@zlu
Created September 26, 2013 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zlu/6716050 to your computer and use it in GitHub Desktop.
Save zlu/6716050 to your computer and use it in GitHub Desktop.
Incompatible jquery-rails versions
zlu@zlu-mba:~/projects/zeeweibo (master *)$ bundle install
Fetching https://github.com/browsermedia/browsercms.git
remote: Counting objects: 40005, done.
remote: Compressing objects: 100% (13669/13669), done.
remote: Total 40005 (delta 25567), reused 38711 (delta 24438)
Receiving objects: 100% (40005/40005), 12.02 MiB | 260.00 KiB/s, done.
Resolving deltas: 100% (25567/25567), done.
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "jquery-rails":
In Gemfile:
browsercms (>= 0) ruby depends on
jquery-rails (~> 2.0) ruby
jquery-rails (3.0.4)
zlu@zlu-mba:~/projects/zeeweibo (master *)$ gem list jquery-rails
*** LOCAL GEMS ***
jquery-rails (3.0.4, 3.0.2, 3.0.1, 2.2.1)
@zlu
Copy link
Author

zlu commented Sep 26, 2013

after update query-rails version to ~> 3.0, bundle install succeeds. now I get this error:

Your bundle is complete!
Use bundle show [gemname] to see where a bundled gem is installed.
zlu@zlu-mba:~/projects/zeeweibo (master *)$ bcms install
gemfile browsercms (4.0.0.a)
run bundle install from "./zeeweibo"
You cannot specify the same gem twice with different version requirements.
You specified: browsercms (>= 0) and browsercms (= 4.0.0.a)

    rake  cms:install:migrations

You cannot specify the same gem twice with different version requirements.
You specified: browsercms (>= 0) and browsercms (= 4.0.0.a)

  create  db/browsercms.seeds.rb
  append  db/seeds.rb
  insert  config/routes.rb

initializer browsercms.rb
gsub config/environments/production.rb
gsub config/application.rb
append config/initializers/browsercms.rb
generate cms:template
You cannot specify the same gem twice with different version requirements.
You specified: browsercms (>= 0) and browsercms (= 4.0.0.a)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment