wolfeidau / rake-bamboo-plugin

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

Cannot find ruby executable for local agents #35

Closed chendrix closed 9 years ago

chendrix commented 11 years ago

I have installed ruby (not using RVM) on the server containing bamboo. When I restart the bamboo application, on the Administration > Executables list it does not show the ruby as being available for local agents (it seems no self discovery happened?).

wolfeidau commented 11 years ago

Just so I have a clearer picture could you tell me what OS your running on?

Also in the bamboo log file there is a section of info level entries which looks kinda like the following, could you pull this out of your log and post it up here so I can see what is going on.

[INFO] [talledLocalContainer] 2012-08-30 07:37:13,872 INFO [http-6990-2] [RubyCapabilityDefaultsHelper] Retrieving a list of runtime managers.
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 INFO [http-6990-2] [RubyCapabilityDefaultsHelper] Loading ruby locator service - SYSTEM
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 INFO [http-6990-2] [RubyCapabilityDefaultsHelper] Loading ruby locator service - rbenv
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 WARN [http-6990-2] [RbenvRubyRuntimeLocatorService] Windows isn't support for RVM installations
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 INFO [http-6990-2] [RubyCapabilityDefaultsHelper] Loading ruby locator service - RVM
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 WARN [http-6990-2] [RvmRubyRuntimeLocatorService] Windows isn't support for RVM installations
[INFO] [talledLocalContainer] 2012-08-30 07:37:13,873 INFO [http-6990-2] [RubyCapabilityDefaultsHelper] Loading ruby locator service - WINDOWS

Lastly if your on linux could you run the following command and post the output.

which ruby

If your on windows.

where ruby

Cheers