Displaying 4 results from an estimated 4 matches for "clear_paths".
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi,
we want to install the ruby-gem package on a Debian system using puppet.
package { ''ruby1.9.1'': ensure => present }
In another manifest we want to use the gem provider to install a ruby gem.
package { ''bundler'': ensure => present, provider => gem }
On the first run the puppet agent run checks for a functional gem binary on the system.
It will
2007 Feb 08
1
mongrel cluster and local gems loading problem
...being "ignored" (because rubygem
Gem.path method caches the path on the first use, which is done by
mongrel_rails). To make this work, I had come to this hack:
ENV[''GEM_PATH''] = File.expand_path(''~/.gem'')
require ''rubygems''; Gem.clear_paths;
Gem.instance_variable_set(:@searcher, nil)
Which clears the internal cache used by rubygems, and forces it to
re-read the GEM_PATH env. variable.
But I don''t fell comfortable using it... is there a better way to do
this? Like, setting the GEM_PATH from the mongrel cluster config file?...
2007 Jul 12
15
Ruby Gems and Rails
Hi,
I think this has been discussed previously on the list, so apologies if
I''m covering old ground but I''ve been using puppet to manage a few Rails
applications which have dependencies on quite a few gems, so it''s
getting to be a bit of an onerous task to manage them. It looks like
the command line interface to gems doesn''t really support automated
2015 Dec 24
4
[PATCH] btrfs: Fix logical to physical block address mapping
The current btrfs support did not handled multiple stripes stored in
chunk items, hence skipping the physical addresses that were needed to
do the mapping.
Besides, the chunk tree may contain DEV_ITEM keys which store
information on all of the underlying block devices, so we must skip them
instead of finishing lookup.
The bug was reproduced with btrfs-progs v4.2.2.
Cc: Gene Cumm <gene.cumm