20 April 2014

The Ruby Reflector

Topic

GEM_PATH

  Source Favicon
By Peter Cooper of Ruby Inside over 1 year ago.
Email
  Source Favicon
By Aaron Patterson of Tender Lovemaking over 2 years ago.
Email

caches them . Sometimes bundler must modify your GEM HOME and GEM PATH environment variables. These environment variables tell rubygems where to locate gems on your file system. Unfortunately, if these variables are modified after the specification cache is built, that means the cache must be cleared. Until recently, bundler always cleared the rubygems cache . Since rubygems can load gemspecs before bundler gets activated (or may even while bundler is being activated!), …

tenderlovemaking.com Read
  Source Favicon
By drbrain of Segment7 over 3 years ago.
Email

…setting gem home or gem path via gemrc as a critical feature. Setting the GEM HOME and GEM PATH environment variables will work just as well. Removing the feature also allows RubyGems to avoid loading YAML for default operations as the gemrc file is in YAML format.

The best places to look for information about what's going on in RubyGems are the # rubygems channel on freenode and the mailing list and of course the recent RubyGems commits …

blog.segment7.net Read
  Source Favicon
By Darcy Laycock of Transcending Frontiers over 3 years ago.
Email

(by changing GEM PATH and GEM HOME and then telling rubygems about the change)

- raising an exception if it's for a different ruby installation. This switch makes it

possibly to dynamically switch your ruby applications gemset whilst running.

Of course, dealing with a direct port of the API isn't always nice when you're writing a lot of code

env.alias_list feels clunky compared to most ruby code and some of the tools are rough around the

edges. With this in mind, …

thefrontiergroup.com.au Read
  Source Favicon
By Darcy Laycock of Transcending Frontiers over 3 years ago.
Email

…directory for the given gemset (ensuring gems are installed in the correct place) but it also sets GEM PATH .

Much like PATH , GEM PATH is a colon separated list of directories that rubygems uses to look up gems when requiring them. By installing a gem to the global gemset for any ruby, e.g. ree-1.8.7-2010.02@global , it will automatically be made available (including it's binaries) inside both the default gemset and any user-defined gemsets. E.g.,

ree-1.8.7-2010.02

ree-1.8.7-2010.02@bighelpmob …

thefrontiergroup.com.au Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog almost 4 years ago.
Email

…defined for your shell, e.g. things like PATH, LD LIBRARY PATH, RUBYOPT, GEM PATH and GEM HOME.

Some people find that their app cannot load a certain library when the app is started in Phusion passenger, but can when the app is started with e.g. Mongrel or Thin. This is almost always caused by some environment variable that's set in the shell but not in the web server: everything you set in /etc/bashrc and friends don't have effect on processes started from the web server. …

blog.phusion.nl Read
  Source Favicon
By Hongli Lai of Phusion Corporate Blog almost 4 years ago.
Email

GEM HOME, GEM PATH and RUBYOPT are unset before running the installer so that those options can't interfere with installation.

RUBY HEAP SLOTS GROWTH FACTOR wasn't properly parsed as a floating point number. This has now been fixed.

Fixed OpenSSL compilation problems. Patch contributed by hso@nosneros.net. REE issue #39. More Ubuntu packages We now provide packages for:

Ubuntu 8.04 32-bit

Ubuntu 8.04 64-bit

Ubuntu 10.04 32-bit

Ubuntu 10.04 64-bit…

blog.phusion.nl Read
  Source Favicon
On Mark Turner 4 years ago.
Email

…just too tired at the moment.

interesting, but the bug seems to be possibly 2 things: empty GEM HOME should not be used, and when the join occurs I think it is creating an invalid GEM PATH=":/ Users/User/.gem/ruby/1.8:/opt/local/lib/ruby/gems/1.8:" ... it should not have that leading ':'

UPDATE: Filed an issue in Bundlers issue tracker UPDATE 2: Fixed in 55509f

amerine.net Read