It would be awesome if when searching for Ruby platforms you'd also search for RVM (Ruby Version Manager) installations in ~/.rvm and have them running out of the box.
I've changed the platform autodetection to look into ~.rvm/rubies for platforms in 6251261b4220, so this should be fixed now. Let me know if you find any issues with it, I only performed rather superficial testing as I don't use RVM myself (just now installed it for testing this).
Integrated into 'main-golden', will be available in build *201004020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Erno Mononen <firstname.lastname@example.org>
Log: #181844 - Search for RVM installations
The problem now is that with rvm install and configured, the native system install can not be used or configured as a selectable platform. Tried creating a new platform and selecting the system Ruby install. It doesn't seem to be able to be added.
MAC Running Snow Leopard 10.6.4
(In reply to comment #3)
> The problem now is that with rvm install and configured, the native system
> install can not be used or configured as a selectable platform. Tried creating
> a new platform and selecting the system Ruby install. It doesn't seem to be
> able to be added.
> MAC Running Snow Leopard 10.6.4
Never mind. I am in error.
Created attachment 103404 [details]
Dump of environment configurations for gemsets and many rubies
1. rvms are found fine but still gemsets are not recognized correctly.
Detecting gemsets can be done throug: ls -1d .rvm/gems/*@*
So by default global was only found, no possibility to use rails3test except
overwriting global configuration.
2. if many ruby versions installed then gem home & path are set to current
3. It is not possible to add separate copy of the same ruby - with different
4. not sure about that(if it is implemented correctly) but if available then
binaries should be used from the selected gemset
Full environment configuration dump with examples can be found in previous attachment.
additionally to the point 4 in comment 6 there is problem with GEM_HOME being not used for bundler, after issuing project menu bundler install:
Your bundle is complete! It was installed into /home/mpapis/.rvm/gems/ruby-1.9.2-head
but it should use /home/mpapis/.rvm/gems/ruby-1.9.2-head@rails3test - to which GEM_HOME was set.