I am having a problem deploying my site to 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)
and when I do a gem list rake , it gives me
*** LOCAL GEMS *** airbrake (4.3.1) rake (10.5.0, 10.4.2)
I want to have only one version, when I do bundle exec gem uninstall rake -v 10.4.2 , it gives me
ERROR: While executing gem ... (Gem::InstallError) gem "rake" cannot be uninstalled because it is a default gem
How to solve this problem? Any help would be appreciated.
ruby ruby-on-rails rubygems bundler
Junaid farooq
source share