{"action":"created","issue":{"url":"https://api.github.com/repos/creationix/nvm/issues/915","repository_url":"https://api.github.com/repos/creationix/nvm","labels_url":"https://api.github.com/repos/creationix/nvm/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/creationix/nvm/issues/915/comments","events_url":"https://api.github.com/repos/creationix/nvm/issues/915/events","html_url":"https://github.com/creationix/nvm/issues/915","id":118606682,"number":915,"title":"nvm exec not taking .nvmrc when not providing version","user":{"login":"marcofranssen","id":694733,"avatar_url":"https://avatars.githubusercontent.com/u/694733?v=3","gravatar_id":"","url":"https://api.github.com/users/marcofranssen","html_url":"https://github.com/marcofranssen","followers_url":"https://api.github.com/users/marcofranssen/followers","following_url":"https://api.github.com/users/marcofranssen/following{/other_user}","gists_url":"https://api.github.com/users/marcofranssen/gists{/gist_id}","starred_url":"https://api.github.com/users/marcofranssen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcofranssen/subscriptions","organizations_url":"https://api.github.com/users/marcofranssen/orgs","repos_url":"https://api.github.com/users/marcofranssen/repos","events_url":"https://api.github.com/users/marcofranssen/events{/privacy}","received_events_url":"https://api.github.com/users/marcofranssen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/creationix/nvm/labels/needs%20followup","name":"needs followup","color":"FA94FD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-11-24T13:18:33Z","updated_at":"2016-05-10T17:11:15Z","closed_at":null,"body":"`nvm exec` does not work without providing the version explicitly... therefore I currently use this workarround. `nvm install` does satisfy the `.nvmrc` file.\r\n\r\n```bash\r\nnvm install\r\nnvm exec $(cat .nvmrc) npm install -g gulp\r\nnvm exec $(cat .nvmrc) npm install\r\ncd subproject\r\nnvm exec $(cat ../.nvmrc) gulp release\r\n```"},"comment":{"url":"https://api.github.com/repos/creationix/nvm/issues/comments/218225770","html_url":"https://github.com/creationix/nvm/issues/915#issuecomment-218225770","issue_url":"https://api.github.com/repos/creationix/nvm/issues/915","id":218225770,"user":{"login":"dachibro","id":18197778,"avatar_url":"https://avatars.githubusercontent.com/u/18197778?v=3","gravatar_id":"","url":"https://api.github.com/users/dachibro","html_url":"https://github.com/dachibro","followers_url":"https://api.github.com/users/dachibro/followers","following_url":"https://api.github.com/users/dachibro/following{/other_user}","gists_url":"https://api.github.com/users/dachibro/gists{/gist_id}","starred_url":"https://api.github.com/users/dachibro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dachibro/subscriptions","organizations_url":"https://api.github.com/users/dachibro/orgs","repos_url":"https://api.github.com/users/dachibro/repos","events_url":"https://api.github.com/users/dachibro/events{/privacy}","received_events_url":"https://api.github.com/users/dachibro/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T17:11:15Z","updated_at":"2016-05-10T17:11:15Z","body":"Ok, I'll try that.\r\n\r\n`nvm alias` is giving me `tee: /var/lib/jenkins/.nvm/alias/default: Permission denied`.  I tried running it with sudo, but the error still persisted.  Perhaps I will have to explicitly set permissions for that directory."}}