How to deactivate RubyGems?

Is there are way to run ruby the old fashioned way – without RubyGems?

Thanks.

Jep:

ruby --disable-gems -S irb

Thanks, Florian. I thought there was I just couldn’t remember how it was
done.

Follow-up question… Do you have any idea if this sets a flag that can
be
accessed from Ruby code?

I’m working on a project that can be configured to omit GEM_PATH from
it’s
searches. I was thinking that maybe I could tap into this flag instead
of
using my own env variable.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs