GEM variables

I'm going nuts with my Ruby editor because it's complaining about
running out of disk space for my Gems. When I see my Ruby environment, I
see that it's using my G: drive. Well, my G: drive is a very tiny drive
given to me by my company for personal storage. It's really only about
10mB!

So, can someone please tell me how to change my gem_path variable?
Here's what I get for my gem environment. I want to get rid of the G:
drive entry as seen below under GEM PATHS.

Thank you.

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.0
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby200/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby200/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby200/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby200/lib/ruby/gems/2.0.0
     - G:/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

···

--
Posted via http://www.ruby-forum.com/.

I think you just set your GEM_HOME to C:/Ruby200/lib/ruby/gems/2.0.0

(if windows)

set GEM_HOME=C:/Ruby200/lib/ruby/gems/2.0.0

Check this link too. http://docs.rubygems.org/read/chapter/3 I've
never had to change it,

so I hope it helps.

···

On Thu, May 2, 2013 at 9:41 AM, Peter Bailey <lists@ruby-forum.com> wrote:

I'm going nuts with my Ruby editor because it's complaining about
running out of disk space for my Gems. When I see my Ruby environment, I
see that it's using my G: drive. Well, my G: drive is a very tiny drive
given to me by my company for personal storage. It's really only about
10mB!

So, can someone please tell me how to change my gem_path variable?
Here's what I get for my gem environment. I want to get rid of the G:
drive entry as seen below under GEM PATHS.

Thank you.

RubyGems Environment:
  - RUBYGEMS VERSION: 2.0.0
  - RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [i386-mingw32]
  - INSTALLATION DIRECTORY: C:/Ruby200/lib/ruby/gems/2.0.0
  - RUBY EXECUTABLE: C:/Ruby200/bin/ruby.exe
  - EXECUTABLE DIRECTORY: C:/Ruby200/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-mingw32
  - GEM PATHS:
     - C:/Ruby200/lib/ruby/gems/2.0.0
     - G:/.gem/ruby/2.0.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/

--
Posted via http://www.ruby-forum.com/.

Daniel Stephens wrote in post #1107579:

I think you just set your GEM_HOME to C:/Ruby200/lib/ruby/gems/2.0.0

(if windows)

set GEM_HOME=C:/Ruby200/lib/ruby/gems/2.0.0

Check this link too. http://docs.rubygems.org/read/chapter/3 I've
never had to change it,

so I hope it helps.

Thanks, Daniel.
I did what you suggested. But, when I open my editor, it still gives me
errors saying "no space left on device G:."

···

--
Posted via http://www.ruby-forum.com/.

which editor are you using?

···

On Thu, May 2, 2013 at 12:19 PM, Peter Bailey <lists@ruby-forum.com> wrote:

Daniel Stephens wrote in post #1107579:
> I think you just set your GEM_HOME to C:/Ruby200/lib/ruby/gems/2.0.0
>
> (if windows)
>
> set GEM_HOME=C:/Ruby200/lib/ruby/gems/2.0.0
>
> Check this link too. http://docs.rubygems.org/read/chapter/3 I've
> never had to change it,
>
> so I hope it helps.

Thanks, Daniel.
I did what you suggested. But, when I open my editor, it still gives me
errors saying "no space left on device G:."

--
Posted via http://www.ruby-forum.com/.

Daniel Stephens wrote in post #1107583:

which editor are you using?

RubyMine. I love it. It's incredible. But, when it opens initially, it
complains that it's run out of space to put GEM files, on my G: drive.
My G: drive is cheap dinky drive my company gives all of us. I think
it's literally only 10mB. I'm playing with my Windows variables for
HOME, too. But, those seem to be forced by group policies. I'm trying to
talk with one of our IT guys to see if that can be changed.

···

--
Posted via http://www.ruby-forum.com/.