mardi 29 janvier 2019

Ruby Project Run time Error- require': cannot load such file -- bundler (LoadError)

I tried running a gitproject , https://github.com/jmopr/job-hunter in RubyMine IDE. And while running the project from menu in RubyMine IDE, the error produced is this.

--------------------------(START)-Output for run of project------------

/usr/bin/ruby /Applications/software/projects/gitprojects/job-hunter_rb/bin/rails server -b 0.0.0.0 -p 3000 -e development /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire' from /Applications/software/projects/gitprojects/job-hunter_rb/bin/spring:8:in <top (required)>' from /Applications/software/projects/gitprojects/job-hunter_rb/bin/rails:3:inload' from /Applications/software/projects/gitprojects/job-hunter_rb/bin/rails:3:in `'

Process finished with exit code 1

--------------------------(END)-Output for run of project------------

  • Specs:

Ruby Version (ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin16] )

rails -v Could not find proper version of railties (4.2.5.1) in any of the sources Run bundle install to install missing gems.

Aucun commentaire:

Enregistrer un commentaire