기존 프로젝트가 있습니다. 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'
오류가
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/CA rPartSnigeria/CarPartSnigeria_12_12/트렁크/설정/application.rb : 6' Windows 설치 과정에 대한 최신 RMagick 가이드에있다? –
"Bundler.require (: default, Rails.env)" 이 문장은 해당 줄에 언급되어 있습니다. – Pinki
'번들 업데이트 '를 시도 했습니까? –