After installing `ruby193` From Red Hat Software Collections, the PATH `/opt/rh/ruby193/root/usr/local/bin` is not added by default.

Solution Unverified - Updated -

Issue

  • After installing ruby193 From Red Hat Software Collections, the PATH /opt/rh/ruby193/root/usr/local/bin is not added by default.
  • Ruby193 comes with dependency to some gems. These gems are packaged into rpms by Red Hat. On installation there executables are put into /opt/rh/ruby193/root/usr/bin. However, if one download their own gem files and install them, the executables go into /opt/rh/ruby193/root/usr/local/bin as it is reported with gem env command: - EXECUTABLE DIRECTORY: /opt/rh/ruby193/root/usr/local/bin.
  • But by default the PATH is not exported to add this directory in PATH variable.

Environment

  • Red Hat Enterprise Linux 6.5
  • Red Hat Software Collections
  • ruby193-runtime-1-11.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content