set gemdir in ruby_block