This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Search for RVM installations | ||
---|---|---|---|
Product: | ruby | Reporter: | pupeno <pupeno> |
Component: | Platform | Assignee: | issues@ruby <issues> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | mpapis |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Dump of environment configurations for gemsets and many rubies |
Description
pupeno
2010-03-11 06:47:22 UTC
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) Changeset: http://hg.netbeans.org/main/rev/6251261b4220 User: Erno Mononen <emononen@netbeans.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/*@* .rvm/gems/ruby-1.8.7-head@global .rvm/gems/ruby-1.9.2-head@global .rvm/gems/ruby-1.9.2-head@rails3test 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 environment default 3. It is not possible to add separate copy of the same ruby - with different path 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. |