ruby on rails - `require': cannot load such file -- bundler/setup (LoadError) -


i getting started ruby on rails, facing lot of issues setting new blog ruby tutorials.

i had installed ruby 2.3.0 using rubyenv on mac el capitan. after ran namespace conflicts , errors. solved them 1 one when run

bin/rails generate controller welcome index

on new blog, -

/library/ruby/site/2.0.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- bundler/setup (loaderror) 

why show 2.0.0 when i've installed 2.3.0?

stuff i've tried:

$ sudo gem update --system

$ export path="$home/.rbenv/shims:$path"

$ echo $gem_home <returns blank>

$which -a ruby

/users/shubhamkanodia/.rbenv/shims/ruby /usr/bin/ruby 

rbenv versions

  system * 2.3.0 (set /users/shubhamkanodia/.rbenv/version) 

maybe fix bundle exec rake rails:update:bin


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -