File root = rubyAppMetaData.getRoot();
runtimeMetaData.setBaseDir( root );
runtimeMetaData.setEnvironment( rubyAppMetaData.getEnvironmentVariables() );
runtimeMetaData.setRuntimeType( RubyRuntimeMetaData.RuntimeType.BARE );
runtimeMetaData.appendLoadPath( new RubyLoadPathMetaData( root ) );
runtimeMetaData.appendLoadPath( new RubyLoadPathMetaData( new File( root, "lib" ) ) );
runtimeMetaData.appendLoadPath( new RubyLoadPathMetaData( new File( root, "config" ) ) );
RuntimeInitializer initializer = new BaseRuntimeInitializer( rubyAppMetaData );
RuntimePreparer preparer = null;
File gemfile = new File( root, "Gemfile" );
if (gemfile.exists()) {