لا يمكن تحميل التطبيق القضبان مع جوهرة أجش
-
10-07-2019 - |
سؤال
واني اسعى الى تحميل روبي على القضبان تطبيق يستخدم خشن جوهرة . أنا يمكن تحميل غرامة خشن في irb
، ولكن كلما أحاول تحميل التطبيق (عبر ruby script/server
)، فإنه تعطل. وهنا تتبع المكدس كاملة:
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:303:in `search': undefined method `empty?' for :gruff:Symbol (NoMethodError)
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/source_index.rb:274:in `find_name'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:259:in `activate'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:67:in `gem'
from /Users/mdippery/Projects/nees/ceespm/rails-server/config/environment.rb:60
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:147:in `rails'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:113:in `cloaker_'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:149:in `call'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:149:in `listener'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `call'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `initialize'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:84:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
from /opt/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:488:in `load'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/railties/lib/commands/servers/mongrel.rb:60
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
from /Users/mdippery/Projects/nees/ceespm/rails-server/vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require'
from script/server:3
وكيف يمكن إصلاح هذا بالتالي فإن التطبيق تشغيل؟
المحلول
هل يحتاج جوهرة ليتم تثبيتها مباشرة إلى القضبان بك دير التطبيق؟
هنا :
<اقتباس فقرة>والقضبان المساعد
وخشن وسهل الاستخدام مع القضبان.
gem install gruff
cd vendor/plugins && gem unpack gruff
اقتباس فقرة>
إذا كنت قد فعلت gem install gruff
فقط هذا قد يفسر أنه لا يعمل في القضبان ولكن العمل في الاتحاد الدولي للرجبي.
لا تنتمي إلى StackOverflow