ruby on rails - <internal:gem_prelude>:1:in `require': -


i working on learn.co web development fundamentals track. when try run on terminal ruby file

ruby looping.rb 

i following error:

<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (loaderror) <internal:gem_prelude>:1:in `<compiled>' 

this wasnt happening before, had reinstall learn environment setup, not working.

i fixed problem doing following:

rvm fix-permissions 

and then:

rvm reinstall 2.2.3 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -