ruby - Prepending `bundle exec` to your command may solve this rails -
i having issue while deploying site aws.
gem::loaderror: have activated rake 10.4.2, gemfile requires rake 10.5.0. prepending `bundle exec` 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 running task --trace) (elasticbeanstalk::externalinvocationerror) while when gem list rake gives me
*** local gems *** airbrake (4.3.1) rake (10.5.0, 10.4.2) i want have 1 version when bundle exec gem uninstall rake -v 10.4.2 gives me
error: while executing gem ... (gem::installerror) gem "rake" cannot uninstalled because default gem how resolve issue? appreciated.
you need prefix command bundle exec. example, if rake command is
rake deploy you have instead use
bundle exec rake deploy bundler fetch proper gem versions listed in gemfile, , execute command.
Comments
Post a Comment