首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >邦德勒找不到兼容版本的宝石"actionpack“- Rails。

邦德勒找不到兼容版本的宝石"actionpack“- Rails。
EN

Stack Overflow用户
提问于 2016-02-12 13:09:05
回答 1查看 1.2K关注 0票数 0

我是Ruby和rails的新手,我需要在现有的rails项目中改变一些东西:

我已经安装了项目所需的许多必需的gems,但是当我执行:包安装时,就会出现下一个错误:

我一直在谷歌搜索,并尝试了许多东西,但没有人修复它。

这是我的Gemfile内容:

代码语言:javascript
复制
source 'https://rubygems.org'

# Basicas
gem 'rails', '3.2.15'
gem 'mysql2'
gem 'actionpack', '3.2.15'
gem 'nokogiri', '1.3.3'

# Gestion y deployment
gem 'capistrano'
gem 'capistrano-db-tasks', require: false
gem 'capistrano-detect-migrations'
# gem 'rvm-capistrano'
gem 'capistrano-rbenv'
gem 'cape', '~> 1' # tareas rake via capistrano
gem 'exception_notification'

# General
gem 'paperclip'
gem 'cancan'
gem 'devise' # gem "devise_ldap_authenticatable"
gem 'inherited_resources'
gem 'meta_search'
gem 'tabletastic'
gem 'simple_form'
gem 'will_paginate'
gem 'show_for', git: 'https://github.com/plataformatec/show_for.git'
gem 'permanent_records'
gem 'acts_as_list'
gem 'paper_trail',  '~> 2'
gem 'dossier'
gem 'wicked_pdf'
gem 'deep_cloneable'
gem 'statistics'

# exportacion a excel
gem 'acts_as_xlsx' # xlsx para ActiveRecord
gem 'axlsx_rails' # xlsx para vistas

group :assets do
  gem 'sass-rails',   '~> 3.2.3'
  gem 'coffee-rails', '~> 3.2.1'
#  gem 'uglifier', '>= 1.0.3'
  gem 'jquery-rails'
  gem 'therubyracer', :platforms => :ruby

  gem 'less-rails'
  gem 'bootstrap-sass', '~> 2.3.1.0'
  gem 'font-awesome-sass-rails'
  gem 'bootstrap-datepicker-rails'
  gem 'bootstrap-datetimepicker-rails'
  gem 'bootstrap-wysihtml5-rails'
  gem 'bootswatch-rails' # temas para bootstrap
  gem 'chosen-rails'
  # gem 'turbo-sprockets-rails3'
end

group :development do
  gem 'thin'
  gem 'meta_request', '0.2.1'
  gem 'byebug'
  gem 'annotate', git: 'https://github.com/ctran/annotate_models.git'
  gem 'bullet'
  gem 'quiet_assets'
  gem 'better_errors'
  gem 'binding_of_caller' # para better_errors
  gem 'rails-erd' # entity diagrams

  gem 'guard'
  gem 'guard-rspec'
  gem 'guard-bundler'
  gem 'guard-spring'
  gem 'rb-inotify', require: false
  gem 'rb-fsevent', require: false
  gem 'rb-fchange', require: false
  gem 'growl' # linux/mac notifications
end

group :development, :test do
  gem 'rspec-rails'
  gem 'faker'
  gem 'machinist', '>= 2.0.0.beta2' # fixture replacement (blueprints)
  gem 'capybara'
  gem 'database_cleaner'
  gem 'awesome_print'
end

谢谢大家!

EN

回答 1

Stack Overflow用户

发布于 2016-02-12 13:16:58

对于show_for,您需要一个不同于0.5.0的版本

代码语言:javascript
复制
gem 'show_for', git: 'https://github.com/plataformatec/show_for.git'

需要更改为

代码语言:javascript
复制
gem 'show_for', "~> version_that_can_work_with_actionpack_3"
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35363449

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档