代码之家  ›  专栏  ›  技术社区  ›  Ell

如何在USB棒上安装红宝石?

  •  2
  • Ell  · 技术社区  · 15 年前

    How would one install rubygems on a usb stick so that it would work like it would normally, but all files go on the stick? I have no experience at all with rubygems and have no idea of its inner workings, so please, go easy on me! Thanks in advance, ell.

    Edit: Basically, so it is entirely portable!

    1 回复  |  直到 15 年前
        1
  •  3
  •   Eimantas    15 年前

    设置 $GEM_HOME environment variable to the path where you mounted your usb stick and mine away!

    Although for it to be portable you'd have to set 美元家庭 env-variable on other "host" machines as well.

    推荐文章