ruby on rails - #RubyOnRails Bundler could not find compatible versions for gem "sprockets": -


i tried run "bundle update" in 1 project, console gives me next error:

bundler not find compatible versions gem "sprockets": in gemfile: sprockets (= 2.2.2)

rails (= 3.2.8) resolved 3.2.8, depends on actionpack (= 3.2.8) resolved 3.2.8, depends on sprockets (~> 2.1.3)

my gemfile

source 'https://rubygems.org'  gem 'rails', '3.2.8'  # bundle edge rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git'  gem 'sqlite3'  gem 'liquid' #gem 'redcloth' # gems used assets , not required # in production environments default. gem 'tinymce-rails' gem "rmagick" gem 'carrierwave' #gem 'therubyracer' gem 'devise' gem 'omniauth-facebook' gem 'omniauth-twitter' gem 'simple-private-messages', '0.0.0', :git =>             'git://github.com/jongilbraith/simple-private-messages.git' gem 'rb_wunderground' gem "twitter-bootstrap-rails" gem 'sprockets', '2.2.2'  gem "jquery-rails"  group :assets   gem 'sass-rails',   '~> 3.2.3'   gem 'coffee-rails', '~> 3.2.1'   #gem "less-rails" #sprockets (what rails 3.1 uses asset pipeline) supports less   #gem 'twitter-bootstrap-rails'   # see https://github.com/sstephenson/execjs#readme more     supported runtimes   # gem 'therubyracer', :platforms => :ruby   gem 'uglifier', '>= 1.0.3'   gem 'wicked_pdf'   gem 'roadie'   gem 'wkhtmltopdf-binary' end #group :development #  gem 'sunspot_solr' #end  #gem "progress_bar" gem "declarative_authorization" gem 'jquery-rails' #gem 'tire' #gem 'rsolr' #gem 'sunspot_rails' gem 'pg' gem 'texticle', require: 'texticle/rails' gem "recaptcha", :require => "recaptcha/rails" gem 'kaminari'   # use activemodel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0'  # use jbuilder templates json # gem 'jbuilder'  # use unicorn app server # gem 'unicorn'  # deploy capistrano gem 'rvm-capistrano'  # use debugger # gem 'debugger' gem 'rails-i18n'  gem 'kaminari-i18n'  gem 'constantcontact'  group :test, :development   gem 'table_print'   gem "rspec-rails"   gem 'pry-rails'   gem 'ruby_parser'   gem "declarative_authorization" end   gem 'paperclip' gem 'spreadsheet' gem 'textacular' 

please try not specify exact sprockets version. example :

gem 'sprockets', '~> 2.0' 

Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -