search for: clear_path

Displaying 4 results from an estimated 4 matches for "clear_path".

Did you mean: 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
...uct btrfs_disk_key search_key; + struct btrfs_disk_key ignore_key; struct btrfs_chunk *chunk; - struct btrfs_chunk_map_item item; struct btrfs_path path; if (!(bfs->sb.flags & BTRFS_SUPER_FLAG_METADUMP)) { @@ -370,17 +381,24 @@ static void btrfs_read_chunk_tree(struct fs_info *fs) clear_path(&path); search_tree(fs, bfs->sb.chunk_root, &search_key, &path); do { + ignore_key.objectid = BTRFS_DEV_ITEMS_OBJECTID; + ignore_key.type = BTRFS_DEV_ITEM_KEY; do { + /* skip information about underlying block + * devices. + */ + if (!btrfs_comp_keys_type(...