Muhammad Hafid

Janganlah malas untuk berkarya, biarpun sederhana tetapi bermanfaat bagi orang lain. Kerjakan dengan penuh kesabaran dan keikhlasan

Error /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'

Hallo, kali ini saya akan membahas ruby on rails ya. Disini saya sebenarnya rada malas untuk menuliskan tutorial cara installasi ruby di ubuntu. Jadi disini saya hanya membahas mengenai problem-problem yang terjadi pada saat hendak memulai ruby.



Oke pada saat hendak create app dengan rails : rails new namapalikasi
Muncul pesan error dibawah ini :


Untuk lebih jelasnya ini : 
/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler (LoadError)
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/rails/generators/app_base.rb:328:in `bundle_command'
from /usr/lib/ruby/vendor_ruby/rails/generators/app_base.rb:344:in `run_bundle'
from (eval):1:in `run_bundle'
from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in `invoke_command'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `block in invoke_all'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `each'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `map'
from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `invoke_all'
from /usr/lib/ruby/vendor_ruby/thor/group.rb:232:in `dispatch'
from /usr/lib/ruby/vendor_ruby/thor/base.rb:440:in `start'
from /usr/lib/ruby/vendor_ruby/rails/commands/application.rb:17:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/vendor_ruby/rails/cli.rb:14:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/bin/rails:9:in `<main>'
Lalu bagaimana cara solve problemnya ? Jadi gini, error tersebut muncul dikarenakan kalian belum install gem budlernya, jadi cara penanggannya adalah silahkan kalian masuk ke root lalu ketikan : gem install bundler.

Seperti pada gambar saya dibawah ini :


Jika kalian menemukan kendala, mungkin kalian belum install gem nya. Semoga bermanfaat.

Sumber : http://stackoverflow.com/questions/34966598/ruby-rvm-with-global-gem-bundle-run-fails-with-require-cannot-load-such-fi


Labels: programming , ruby

Thanks for reading Error /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require' . Please share...!

0 Comment for "Error /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'"

Terima kasih sudah berkunjung ke blog saya, semoga informasi nya bermanfaat buat anda.

Back To Top