मेरी साइट को AWS
पर तैनात करते समय मुझे कोई समस्या है।आपके आदेश में 'बंडल निष्पादन' तैयार करना इस रेल को हल कर सकता है
Gem::LoadError: You have already activated rake 10.4.2, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
/var/app/ondeck/config/boot.rb:3:in `<top (required)>'
/var/app/ondeck/config/application.rb:1:in `<top (required)>'
/var/app/ondeck/Rakefile:4:in `<top (required)>'
LoadError: cannot load such file -- bundler/setup
/var/app/ondeck/config/boot.rb:3:in `<top (required)>'
/var/app/ondeck/config/application.rb:1:in `<top (required)>'
/var/app/ondeck/Rakefile:4:in `<top (required)>'
(See full trace by running task with --trace)
(ElasticBeanstalk::ExternalInvocationError)
जबकि जब मैं gem list rake
कर यह मेरे
*** LOCAL GEMS ***
airbrake (4.3.1)
rake (10.5.0, 10.4.2)
मैं सिर्फ एक संस्करण करना चाहते हैं देता है जब मैं क्या bundle exec gem uninstall rake -v 10.4.2
यह मेरे
ERROR: While executing gem ... (Gem::InstallError)
gem "rake" cannot be uninstalled because it is a default gem
कैसे इस समस्या को हल करने के लिए देता है? किसी भी तरह की सहायता को आभार समझेंगे।
त्रुटि देने के लिए जो भी आदेश चलाया गया था, उसे 'बंडल निष्पादन' पूर्ववत करें, ठीक उसी तरह त्रुटि आपको करने के लिए कहती है। – sevenseacat