I am getting errors that rubygems cannot be found, when starting
rails-related ruby commands.
when I run
which gem | head -n 1
I get the same directory which is also list in ‘gem env’.
somehow ruby does not know where rubygems is.
but if I run it under irb:
irb(main):001:0> require ‘rubygems’
I’m not sure where the missing link is.
I am running on osx here.
Any help much appreciated.