de.saumya.mojo.ruby
Class GemScriptFactory
java.lang.Object
de.saumya.mojo.ruby.ScriptFactory
de.saumya.mojo.ruby.GemScriptFactory
- All Implemented Interfaces:
- GemService
public class GemScriptFactory
- extends ScriptFactory
- implements GemService
| Methods inherited from class de.saumya.mojo.ruby.ScriptFactory |
addEnv, addEnv, addEnvs, addJavaArgs, addJavaOption, addJavaOption, addJavaProperty, addSwitch, addSwitch, addSwitches, newArguments, newScript, newScript, newScriptFromResource, newScriptFromSearchPath, toString |
GEM_HOME
public static final String GEM_HOME
- See Also:
- Constant Field Values
GEM_PATH
public static final String GEM_PATH
- See Also:
- Constant Field Values
GemScriptFactory
public GemScriptFactory(Logger logger,
org.codehaus.classworlds.ClassRealm classRealm,
File jrubyJar,
List<String> classpathElements,
boolean fork,
File gemHome,
File gemPath)
throws RubyScriptException,
IOException
- Throws:
RubyScriptException
IOException
binDirectory
public File binDirectory()
throws RubyScriptException
- Specified by:
binDirectory in interface GemService
- Throws:
RubyScriptException
gemDirectory
public File gemDirectory()
throws RubyScriptException
- Specified by:
gemDirectory in interface GemService
- Throws:
RubyScriptException
binScriptFile
public File binScriptFile(String script)
throws RubyScriptException
- Specified by:
binScriptFile in interface GemService
- Throws:
RubyScriptException
binScript
public String binScript(String script)
throws RubyScriptException
- Throws:
RubyScriptException
Copyright © 2010. All Rights Reserved.