|
From: <caw...@us...> - 2007-07-27 14:52:17
|
Revision: 2896
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2896&view=rev
Author: cawilliams
Date: 2007-07-27 07:52:07 -0700 (Fri, 27 Jul 2007)
Log Message:
-----------
don't add gems to command line loadpath!
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RuntimeLoadpathEntry.java
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RuntimeLoadpathEntry.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RuntimeLoadpathEntry.java 2007-07-26 20:26:48 UTC (rev 2895)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RuntimeLoadpathEntry.java 2007-07-27 14:52:07 UTC (rev 2896)
@@ -358,7 +358,7 @@
private void initializeLoadpathProperty() {
switch (getType()) {
case VARIABLE:
- if (getVariableName().equals(RubyRuntime.RUBYLIB_VARIABLE)) {
+ if (getVariableName().equals(RubyRuntime.RUBYLIB_VARIABLE) || getVariableName().equals("GEM_LIB")) {
setLoadpathProperty(STANDARD_CLASSES);
} else {
setLoadpathProperty(USER_CLASSES);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|