Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 301551 Details for
Bug 403157
Script to dynamically add user rubygems bindir to PATH
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/profile.d/rubygems-bindir.sh
rubygems-bindir.sh (text/plain), 277 bytes, created by
James Le Cuirot
on 2012-02-11 11:32:08 UTC
(
hide
)
Description:
/etc/profile.d/rubygems-bindir.sh
Filename:
MIME Type:
Creator:
James Le Cuirot
Created:
2012-02-11 11:32:08 UTC
Size:
277 bytes
patch
obsolete
>if [[ -L "/usr/bin/ruby" ]]; then > RUBY=$(readlink /usr/bin/ruby 2> /dev/null) > > case "${RUBY}" in > *18) VERSION="1.8" ;; > *19) VERSION="1.9.1" ;; > *) VERSION="${RUBY##*/}" ;; > esac > > export PATH="${HOME}/.gem/ruby/${VERSION}/bin:${PATH}" >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 403157
: 301551