wolfeidau / rake-bamboo-plugin

Plugin for bamboo which enables building of ruby projects using rake
Other
34 stars 16 forks source link

Remote Agent unable to find RBenv Ruby #84

Closed jwomble closed 10 years ago

jwomble commented 10 years ago

We recently updated to Bamboo 5.6.2. The remote agent I had setup (and working) isn't working anymore, and when I try to setup a new RA, I can't get it to find any Ruby other than the system version (RA is running on an Ubuntu VM).

Log: 27-Oct-2014 16:12:36 Could not run ruby task: Unable to locate Runtime Manager installation. 27-Oct-2014 16:12:36 au.id.wolfe.bamboo.ruby.locator.RuntimeLocatorException: Unable to locate Runtime Manager installation. 27-Oct-2014 16:12:36 at au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory.acquireRubyLocator(RubyLocatorServiceFactory.java:63) 27-Oct-2014 16:12:36 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.getRubyLocator(AbstractRubyTask.java:119) 27-Oct-2014 16:12:36 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.buildEnvironment(AbstractRubyTask.java:157) 27-Oct-2014 16:12:36 at au.id.wolfe.bamboo.ruby.tasks.AbstractRubyTask.execute(AbstractRubyTask.java:73) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:220) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 27-Oct-2014 16:12:36 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 27-Oct-2014 16:12:36 at java.lang.Thread.run(Thread.java:744)

jwomble commented 10 years ago

blowing away my bamboo-agent directory and starting from scratch seems to have fixed this for me.