我有一个RoR应用程序一切正常,直到我部署到heroku,我得到了#34;应用程序错误"并且在日志"未定义的符号:rb_thread_select",我使用" ruby 2.3.0p0"," Rails 4.2.5"宝石'',' 0.18.4',有任何想法如何修复它?
source 'https://rubygems.org'
gem 'rails', '4.2.5'
gem 'pg', '0.18.4'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'foundation-rails'
gem "paperclip", "~> 5.0.0"
gem 'devise'
gem 'redis', '~> 3.0.1'
gem 'hiredis', '~> 0.4.5'
# gem 'bcrypt', '~> 3.1.7'
# gem 'unicorn'
# gem 'capistrano-rails', group: :development
group :development, :test do
console
gem 'byebug'
end
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
background. Read more: https://github.com/rails/spring
gem 'spring'
end
答案 0 :(得分:0)
permutation_iterator<>
复制并粘贴此gemfile并在终端中运行捆绑安装。