Skip to content

Commit

Permalink
Fixed gem cache location (#73)
Browse files Browse the repository at this point in the history
If not set it causes "You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory." error.
  • Loading branch information
SemyonL authored and madhurig committed Jul 13, 2017
1 parent 2808b3d commit f542c12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tasks/ipa-resign/ipa-resign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ async function run() {
tl.debug(`GEM_CACHE=${process.env['GEM_CACHE']}`);
let gemCache: string = process.env['GEM_CACHE'] || path.join(process.env['HOME'], '.gem-cache');
tl.debug(`gemCache=${gemCache}`);
process.env['GEM_HOME'] = gemCache;
process.env['FASTLANE_DISABLE_COLORS'] = true;

// Add bin of new gem home so we don't ahve to resolve it later;
Expand Down

0 comments on commit f542c12

Please sign in to comment.