ruby - pod install: command not found when called from bash script -
i'm improving continuos integration of project. , decided take step , start using cocoapods. rvm installation legacy , indeed have lot of troubles installing ruby 2.2.0. thing that, when test build script using terminal works fine, when try run them without opening terminal window (called applescript, jenkins or ruby script). command not found.
already tried adding path .rvm/scripts path variable in both .bashrc , .bash_profile
have try reconnect server after installed cocoapods? doesn't see new vars till disconnected , reconnected.
also make suer vars see through terminal available jenkins user. can check through slave "script console"
if still don't work, try set path in "execute shell", before run pod install.
this how works me:
echo "running pod install"
cd ${workspace}
export lang=en_us.utf-8
pod install
Comments
Post a Comment