How to configure installed Ruby and gems?

Posted by NARKOZ on Super User See other posts from Super User or by NARKOZ
Published on 2010-05-03T10:54:04Z Indexed on 2012/07/05 9:18 UTC
Read the original article Hit count: 175

Filed under:
|
|

My current gem env returns:

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.6
  - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/USERNAME/.gems
  - RUBYGEMS PREFIX: /home/narkoz
  - RUBY EXECUTABLE: /usr/bin/ruby1.8
  - EXECUTABLE DIRECTORY: /home/USERNAME/.gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/USERNAME/.gems
     - /usr/lib/ruby/gems/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gempath" => ["/home/USERNAME/.gems", "/usr/lib/ruby/gems/1.8"]
     - "gemhome" => "/home/USERNAME/.gems"
  - REMOTE SOURCES:
     - http://rubygems.org/

How can I change path /home/USERNAME/ to my own without uninstalling? OS: Debian Linux

© Super User or respective owner

Related posts about linux

Related posts about ruby