私は既存のプロジェクトを持っています。私はそれをRuby24-x64にアップグレードしましたが、それを実行しようとしていますが、上記のエラーが発生しています。私は2日以来頑張っているが運がない。私はRMagickに関連する上記の問題に直面しています。`require ':126:指定されたモジュールが見つかりませんでした。 - ../Ruby24-x64/lib/ruby/gems/2.4.0/gems/rmagick-2.16.0/lib/RMagick2.so(LoadError)
誰かが上記のエラーについて考えているかどうか教えてください。
ありがとうございます。
これは私のGemfileです。
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
# gem 'rails', '4.0.0'
gem 'rails', '>= 5.0.0.rc2', '< 5.1'
# Use mysql as the database for Active Record
gem 'mysql2'
# gem 'mysql2', '~> 0.3.18'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
#gem 'pg'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
gem "rspec"
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
#gem 'will_paginate', '~> 3.0.6'
# 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'
gem 'shareable'
gem 'pry'
gem 'social-share-button'
gem 'pry-nav'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
group :development do
gem 'meta_request'
# gem "letter_opener"
end
gem 'roo'
gem 'devise'
gem 'carrierwave'
gem 'mini_magick' # require with Ckeditor gem
gem 'will_paginate', '~> 3.0'
gem "cancan"
gem 'rmagick'
gem "nested_form"
gem "stripe"
gem 'bootstrap-x-editable-rails'
gem 'tinymce-rails'
gem 'devise_security_extension'
gem 'tinymce-rails-imageupload', '~> 4.0.0.beta'
# Use ActiveModel has_secure_password
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'byebug'
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Use unicorn as the app server
# gem 'unicorn'
gem 'whenever', :require => false
# Use Capistrano for deployment
# gem 'capistrano', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
# sms sender gem
gem 'twilio-ruby', '~> 3.12'
gem 'rails_refactor', '~> 1.3'
gem 'coupon_code', '~> 0.0.1'
gem 'goog_currency'
gem 'bcrypt', '~> 3.1.7'
gem "ckeditor"
gem 'omniauth-facebook'
gem 'rollbar'
エラーは、それがImageMagickのためのシステムのバイナリを必要とするため、RMagickをインストールするには本当に迷惑です
DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please ch
ange `Mime::JSON` to `Mime[:json]`. (called from <top (required)> at D:/pinki/Ca
rPartSnigeria/CarPartSnigeria_12_12/trunk/config/application.rb:6)
D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesupport-5.0.6/li
b/active_support/dependencies.rb:293:in `require': 126: The specified module cou
ld not be found. - D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/r
magick-2.16.0/lib/RMagick2.so (LoadError)
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:293:in `block in require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:293:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rmagick-2
.16.0/lib/rmagick_internal.rb:12:in `<top (required)>'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:293:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:293:in `block in require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:259:in `load_dependency'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/activesup
port-5.0.6/lib/active_support/dependencies.rb:293:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/rmagick-2
.16.0/lib/rmagick.rb:1:in `<top (required)>'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:81:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:76:in `each'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:76:in `block in require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:65:in `each'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler/runtime.rb:65:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/bundler-1
.16.0/lib/bundler.rb:114:in `require'
from D:/pinki/CarPartSnigeria/CarPartSnigeria_12_12/trunk/config/applica
tion.rb:6:in `<top (required)>'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands/commands_tasks.rb:88:in `require'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands/commands_tasks.rb:88:in `block in server'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands/commands_tasks.rb:85:in `tap'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands/commands_tasks.rb:85:in `server'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands/commands_tasks.rb:49:in `run_command!'
from D:/pinki/ProgramFiles/Ruby24-x64/lib/ruby/gems/2.4.0/gems/railties-
5.0.6/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
この行に何である:: 'D:/ pinki /カルシウム rPartSnigeria/CarPartSnigeria_12_12 /トランク/設定/ application.rb:6' Windowsインストール・プロセスのための最新のRMagickガイドがでているのですか? –
"Bundler.require(:default、Rails.env)" この文はその行に記載されています – Pinki
'bundle update'を試しましたか? –