Skip to content

Instantly share code, notes, and snippets.

@wwalker
Created March 29, 2012 15:54
Show Gist options
  • Save wwalker/2238877 to your computer and use it in GitHub Desktop.
Save wwalker/2238877 to your computer and use it in GitHub Desktop.
anyone see something wrong here?
[root@anbld2 ~]# gem install ruby-debug
Successfully installed rbx-require-relative-0.0.9
1 gem installed
Installing ri documentation for rbx-require-relative-0.0.9...
Installing RDoc documentation for rbx-require-relative-0.0.9...
[root@anbld2 ~]#
@eric-wood
Copy link

Yes, you're installing a gem as root!

Also it didn't install the ruby-debug gem...

@wwalker
Copy link
Author

wwalker commented Apr 21, 2012

good point. I'll start having a ruby user to own the ruby installation.

@wwalker
Copy link
Author

wwalker commented May 16, 2012

ok, how does one best manage system wide ruby (not with rvm!!) and install gems that install commands (in /usr/bin by default)?

@eric-wood
Copy link

That is a damn good question. If you find a suitable answer you should tell me.

It might be worth asking the guys in #ruby or #ruby-lang, they tend to have a bit of deployment experience (I have none).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment