passenger 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- data/Rakefile +8 -5
- data/bin/passenger-install-apache2-module +6 -1
- data/doc/ApplicationPool algorithm.txt +23 -5
- data/doc/Architectural overview.html +778 -0
- data/doc/Security of user switching support.html +1 -1
- data/doc/Users guide.html +113 -31
- data/doc/Users guide.txt +104 -10
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +683 -0
- data/doc/cxxapi/ApplicationPool_8h-source.html +224 -0
- data/doc/cxxapi/Application_8h-source.html +448 -0
- data/doc/cxxapi/Bucket_8h-source.html +61 -0
- data/doc/cxxapi/Configuration_8h-source.html +195 -0
- data/doc/cxxapi/DummySpawnManager_8h-source.html +126 -0
- data/doc/cxxapi/Exceptions_8h-source.html +244 -0
- data/doc/cxxapi/Hooks_8h-source.html +63 -0
- data/doc/cxxapi/Logging_8h-source.html +136 -0
- data/doc/cxxapi/MessageChannel_8h-source.html +524 -0
- data/doc/cxxapi/SpawnManager_8h-source.html +593 -0
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +732 -0
- data/doc/cxxapi/System_8h-source.html +251 -0
- data/doc/cxxapi/Utils_8h-source.html +283 -0
- data/doc/cxxapi/annotated.html +59 -0
- data/doc/cxxapi/classClient-members.html +35 -0
- data/doc/cxxapi/classClient.html +117 -0
- data/doc/cxxapi/classDirectoryMapper-members.html +38 -0
- data/doc/cxxapi/classDirectoryMapper.html +203 -0
- data/doc/cxxapi/classHooks-members.html +33 -0
- data/doc/cxxapi/classHooks.html +43 -0
- data/doc/cxxapi/classPassenger_1_1Application-members.html +38 -0
- data/doc/cxxapi/classPassenger_1_1Application.html +229 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +41 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +359 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +225 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +43 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +329 -0
- data/doc/cxxapi/classPassenger_1_1BusyException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1BusyException.html +47 -0
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +44 -0
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +51 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +51 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +38 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException.html +61 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1IOException.html +54 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +47 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +591 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +35 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +77 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +255 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +43 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +400 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1SystemException.html +154 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1TempFile-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1TempFile.html +128 -0
- data/doc/cxxapi/classPassenger_1_1Thread-members.html +35 -0
- data/doc/cxxapi/classPassenger_1_1Thread.html +100 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption.html +46 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption.html +44 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption-members.html +33 -0
- data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption.html +44 -0
- data/doc/cxxapi/definitions_8h-source.html +28 -0
- data/doc/cxxapi/doxygen.css +433 -0
- data/doc/cxxapi/doxygen.png +0 -0
- data/doc/cxxapi/files.html +42 -0
- data/doc/cxxapi/ftv2blank.png +0 -0
- data/doc/cxxapi/ftv2doc.png +0 -0
- data/doc/cxxapi/ftv2folderclosed.png +0 -0
- data/doc/cxxapi/ftv2folderopen.png +0 -0
- data/doc/cxxapi/ftv2lastnode.png +0 -0
- data/doc/cxxapi/ftv2link.png +0 -0
- data/doc/cxxapi/ftv2mlastnode.png +0 -0
- data/doc/cxxapi/ftv2mnode.png +0 -0
- data/doc/cxxapi/ftv2node.png +0 -0
- data/doc/cxxapi/ftv2plastnode.png +0 -0
- data/doc/cxxapi/ftv2pnode.png +0 -0
- data/doc/cxxapi/ftv2vertline.png +0 -0
- data/doc/cxxapi/functions.html +215 -0
- data/doc/cxxapi/functions_func.html +210 -0
- data/doc/cxxapi/functions_type.html +46 -0
- data/doc/cxxapi/functions_vars.html +48 -0
- data/doc/cxxapi/graph_legend.dot +22 -0
- data/doc/cxxapi/graph_legend.html +87 -0
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Configuration.html +236 -0
- data/doc/cxxapi/group__Configuration.png +0 -0
- data/doc/cxxapi/group__Core.html +51 -0
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +43 -0
- data/doc/cxxapi/group__Hooks.html +46 -0
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +406 -0
- data/doc/cxxapi/hierarchy.html +67 -0
- data/doc/cxxapi/index.html +11 -0
- data/doc/cxxapi/inherit__graph__0.map +1 -0
- data/doc/cxxapi/inherit__graph__0.md5 +1 -0
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.map +1 -0
- data/doc/cxxapi/inherit__graph__1.md5 +1 -0
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +1 -0
- data/doc/cxxapi/inherit__graph__10.md5 +1 -0
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__11.map +1 -0
- data/doc/cxxapi/inherit__graph__11.md5 +1 -0
- data/doc/cxxapi/inherit__graph__11.png +0 -0
- data/doc/cxxapi/inherit__graph__12.map +1 -0
- data/doc/cxxapi/inherit__graph__12.md5 +1 -0
- data/doc/cxxapi/inherit__graph__12.png +0 -0
- data/doc/cxxapi/inherit__graph__13.map +1 -0
- data/doc/cxxapi/inherit__graph__13.md5 +1 -0
- data/doc/cxxapi/inherit__graph__13.png +0 -0
- data/doc/cxxapi/inherit__graph__14.map +2 -0
- data/doc/cxxapi/inherit__graph__14.md5 +1 -0
- data/doc/cxxapi/inherit__graph__14.png +0 -0
- data/doc/cxxapi/inherit__graph__15.map +1 -0
- data/doc/cxxapi/inherit__graph__15.md5 +1 -0
- data/doc/cxxapi/inherit__graph__15.png +0 -0
- data/doc/cxxapi/inherit__graph__16.map +1 -0
- data/doc/cxxapi/inherit__graph__16.md5 +1 -0
- data/doc/cxxapi/inherit__graph__16.png +0 -0
- data/doc/cxxapi/inherit__graph__17.map +1 -0
- data/doc/cxxapi/inherit__graph__17.md5 +1 -0
- data/doc/cxxapi/inherit__graph__17.png +0 -0
- data/doc/cxxapi/inherit__graph__18.map +1 -0
- data/doc/cxxapi/inherit__graph__18.md5 +1 -0
- data/doc/cxxapi/inherit__graph__18.png +0 -0
- data/doc/cxxapi/inherit__graph__19.map +2 -0
- data/doc/cxxapi/inherit__graph__19.md5 +1 -0
- data/doc/cxxapi/inherit__graph__19.png +0 -0
- data/doc/cxxapi/inherit__graph__2.map +1 -0
- data/doc/cxxapi/inherit__graph__2.md5 +1 -0
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__20.map +1 -0
- data/doc/cxxapi/inherit__graph__20.md5 +1 -0
- data/doc/cxxapi/inherit__graph__20.png +0 -0
- data/doc/cxxapi/inherit__graph__21.map +1 -0
- data/doc/cxxapi/inherit__graph__21.md5 +1 -0
- data/doc/cxxapi/inherit__graph__21.png +0 -0
- data/doc/cxxapi/inherit__graph__3.map +1 -0
- data/doc/cxxapi/inherit__graph__3.md5 +1 -0
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__4.map +1 -0
- data/doc/cxxapi/inherit__graph__4.md5 +1 -0
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.map +1 -0
- data/doc/cxxapi/inherit__graph__5.md5 +1 -0
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.map +1 -0
- data/doc/cxxapi/inherit__graph__6.md5 +1 -0
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.map +1 -0
- data/doc/cxxapi/inherit__graph__7.md5 +1 -0
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.map +1 -0
- data/doc/cxxapi/inherit__graph__8.md5 +1 -0
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.map +2 -0
- data/doc/cxxapi/inherit__graph__9.md5 +1 -0
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +102 -0
- data/doc/cxxapi/main.html +27 -0
- data/doc/cxxapi/modules.html +34 -0
- data/doc/cxxapi/namespacePassenger.html +208 -0
- data/doc/cxxapi/namespacePassenger_1_1InterruptableCalls.html +43 -0
- data/doc/cxxapi/namespacemembers.html +70 -0
- data/doc/cxxapi/namespacemembers_func.html +66 -0
- data/doc/cxxapi/namespacemembers_type.html +46 -0
- data/doc/cxxapi/namespaces.html +35 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +49 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +49 -0
- data/doc/cxxapi/tab_b.gif +0 -0
- data/doc/cxxapi/tab_l.gif +0 -0
- data/doc/cxxapi/tab_r.gif +0 -0
- data/doc/cxxapi/tabs.css +102 -0
- data/doc/cxxapi/tree.html +167 -0
- data/doc/rdoc/classes/ConditionVariable.html +160 -0
- data/doc/rdoc/classes/Exception.html +120 -0
- data/doc/rdoc/classes/GC.html +113 -0
- data/doc/rdoc/classes/IO.html +150 -0
- data/doc/rdoc/classes/Passenger.html +136 -0
- data/doc/rdoc/classes/Passenger/AbstractRequestHandler.html +402 -0
- data/doc/rdoc/classes/Passenger/AbstractServer.html +649 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerAlreadyStarted.html +97 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerError.html +96 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/ServerNotStarted.html +97 -0
- data/doc/rdoc/classes/Passenger/AbstractServer/UnknownMessage.html +96 -0
- data/doc/rdoc/classes/Passenger/AppInitError.html +137 -0
- data/doc/rdoc/classes/Passenger/Application.html +298 -0
- data/doc/rdoc/classes/Passenger/ConsoleTextTemplate.html +172 -0
- data/doc/rdoc/classes/Passenger/FrameworkInitError.html +143 -0
- data/doc/rdoc/classes/Passenger/HTMLTemplate.html +175 -0
- data/doc/rdoc/classes/Passenger/InitializationError.html +141 -0
- data/doc/rdoc/classes/Passenger/MessageChannel.html +488 -0
- data/doc/rdoc/classes/Passenger/NativeSupport.html +320 -0
- data/doc/rdoc/classes/Passenger/SpawnManager.html +375 -0
- data/doc/rdoc/classes/Passenger/UnknownError.html +125 -0
- data/doc/rdoc/classes/Passenger/Utils.html +578 -0
- data/doc/rdoc/classes/Passenger/VersionNotFound.html +140 -0
- data/doc/rdoc/classes/PlatformInfo.html +302 -0
- data/doc/rdoc/classes/RakeExtensions.html +197 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/DEVELOPERS_TXT.html +230 -0
- data/doc/rdoc/files/README.html +150 -0
- data/doc/rdoc/files/ext/passenger/native_support_c.html +92 -0
- data/doc/rdoc/files/lib/passenger/abstract_request_handler_rb.html +126 -0
- data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +127 -0
- data/doc/rdoc/files/lib/passenger/application_rb.html +123 -0
- data/doc/rdoc/files/lib/passenger/console_text_template_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/constants_rb.html +114 -0
- data/doc/rdoc/files/lib/passenger/dependencies_rb.html +130 -0
- data/doc/rdoc/files/lib/passenger/exceptions_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/html_template_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/message_channel_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/platform_info_rb.html +122 -0
- data/doc/rdoc/files/lib/passenger/simple_benchmarking_rb.html +118 -0
- data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +139 -0
- data/doc/rdoc/files/lib/passenger/utils_rb.html +130 -0
- data/doc/rdoc/files/lib/rake/extensions_rb.html +122 -0
- data/doc/rdoc/fr_class_index.html +71 -0
- data/doc/rdoc/fr_file_index.html +63 -0
- data/doc/rdoc/fr_method_index.html +120 -0
- data/doc/rdoc/index.html +26 -0
- data/doc/rdoc/rdoc-style.css +187 -0
- data/ext/apache2/ApplicationPool.h +12 -0
- data/ext/apache2/ApplicationPoolServer.h +6 -0
- data/ext/apache2/ApplicationPoolServerExecutable.cpp +6 -0
- data/ext/apache2/Bucket.cpp +63 -69
- data/ext/apache2/Bucket.h +2 -0
- data/ext/apache2/Configuration.cpp +24 -0
- data/ext/apache2/Configuration.h +16 -1
- data/ext/apache2/Hooks.cpp +5 -3
- data/ext/apache2/StandardApplicationPool.h +30 -11
- data/lib/passenger/abstract_request_handler.rb +3 -0
- data/lib/passenger/abstract_server.rb +3 -3
- data/lib/passenger/application.rb +4 -2
- data/lib/passenger/dependencies.rb +10 -1
- data/lib/passenger/platform_info.rb +40 -1
- data/lib/passenger/rack/request_handler.rb +4 -2
- data/lib/passenger/railz/application_spawner.rb +7 -1
- data/lib/passenger/utils.rb +6 -8
- data/lib/rake/gempackagetask.rb +0 -6
- data/lib/rake/rdoctask.rb +84 -23
- data/test/ApplicationPoolTest.cpp +36 -0
- data/test/ruby/rails/minimal_spawner_spec.rb +8 -0
- data/test/ruby/utils_spec.rb +33 -0
- data/test/stub/rails_apps/foobar/config/environments/production.rb +0 -1
- metadata +262 -5
@@ -0,0 +1,140 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Class: Passenger::VersionNotFound</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Class</span><br />Passenger::VersionNotFound</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../../files/lib/passenger/exceptions_rb.html">lib/passenger/exceptions.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td>Parent:</td>
|
65
|
+
<td>
|
66
|
+
StandardError
|
67
|
+
</td>
|
68
|
+
</tr>
|
69
|
+
</table>
|
70
|
+
</td>
|
71
|
+
</tr>
|
72
|
+
</table>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
<div id="content">
|
77
|
+
|
78
|
+
<div class="description"><p>
|
79
|
+
Indicates that there is no Ruby on Rails version installed that satisfies a
|
80
|
+
given Ruby on Rails Gem version specification.
|
81
|
+
</p>
|
82
|
+
</div>
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
<div class="sectiontitle">Methods</div>
|
87
|
+
<ul>
|
88
|
+
<li><a href="#M000029">new</a></li>
|
89
|
+
</ul>
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<div class="sectiontitle">Attributes</div>
|
96
|
+
<table border='0' cellpadding='5'>
|
97
|
+
<tr valign='top'>
|
98
|
+
<td class='attr-rw'>
|
99
|
+
[R]
|
100
|
+
</td>
|
101
|
+
<td class='attr-name'>gem_version_spec</td>
|
102
|
+
<td class='attr-desc'></td>
|
103
|
+
</tr>
|
104
|
+
</table>
|
105
|
+
|
106
|
+
<div class="sectiontitle">Public Class methods</div>
|
107
|
+
<div class="method">
|
108
|
+
<div class="title">
|
109
|
+
<a name="M000029"></a><b>new</b>(message, gem_version_spec)
|
110
|
+
</div>
|
111
|
+
<div class="description">
|
112
|
+
<ul>
|
113
|
+
<li><tt>message</tt>: The exception message.
|
114
|
+
|
115
|
+
</li>
|
116
|
+
<li><tt>gem_version_spec</tt>: The Ruby on Rails Gem version specification that
|
117
|
+
caused this error.
|
118
|
+
|
119
|
+
</li>
|
120
|
+
</ul>
|
121
|
+
</div>
|
122
|
+
<div class="sourcecode">
|
123
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000029_source')" id="l_M000029_source">show source</a> ]</p>
|
124
|
+
<div id="M000029_source" class="dyn-source">
|
125
|
+
<pre>
|
126
|
+
<span class="ruby-comment cmt"># File lib/passenger/exceptions.rb, line 28</span>
|
127
|
+
28: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">gem_version_spec</span>)
|
128
|
+
29: <span class="ruby-keyword kw">super</span>(<span class="ruby-identifier">message</span>)
|
129
|
+
30: <span class="ruby-ivar">@gem_version_spec</span> = <span class="ruby-identifier">gem_version_spec</span>
|
130
|
+
31: <span class="ruby-keyword kw">end</span>
|
131
|
+
</pre>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
</div>
|
138
|
+
|
139
|
+
</body>
|
140
|
+
</html>
|
@@ -0,0 +1,302 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Module: PlatformInfo</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Module</span><br />PlatformInfo</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/passenger/platform_info_rb.html">lib/passenger/platform_info.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
</table>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
</table>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
<div id="content">
|
71
|
+
|
72
|
+
<div class="description"><p>
|
73
|
+
This module autodetects various platform-specific information, and provides
|
74
|
+
that information through constants.
|
75
|
+
</p>
|
76
|
+
<p>
|
77
|
+
Users can change the detection behavior by setting the environment variable
|
78
|
+
<tt>APXS2</tt> to the correct ‘apxs’ (or ‘apxs2’)
|
79
|
+
binary, as provided by Apache.
|
80
|
+
</p>
|
81
|
+
</div>
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<div class="sectiontitle">Methods</div>
|
86
|
+
<ul>
|
87
|
+
<li><a href="#M000007">find_command</a></li>
|
88
|
+
</ul>
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<div class="sectiontitle">Constants</div>
|
94
|
+
<table border='0' cellpadding='5'>
|
95
|
+
<tr valign='top'>
|
96
|
+
<td class="attr-name">RUBY</td>
|
97
|
+
<td>=</td>
|
98
|
+
<td class="attr-value">Config::CONFIG['bindir'] + '/' + Config::CONFIG['RUBY_INSTALL_NAME']</td>
|
99
|
+
</tr>
|
100
|
+
<tr valign='top'>
|
101
|
+
<td> </td>
|
102
|
+
<td colspan="2" class="attr-desc">
|
103
|
+
The absolute path to the current Ruby interpreter.
|
104
|
+
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr valign='top'>
|
108
|
+
<td class="attr-name">GEM</td>
|
109
|
+
<td>=</td>
|
110
|
+
<td class="attr-value">determine_gem_command</td>
|
111
|
+
</tr>
|
112
|
+
<tr valign='top'>
|
113
|
+
<td> </td>
|
114
|
+
<td colspan="2" class="attr-desc">
|
115
|
+
The correct ‘gem’ command for this Ruby interpreter.
|
116
|
+
|
117
|
+
</td>
|
118
|
+
</tr>
|
119
|
+
<tr valign='top'>
|
120
|
+
<td class="attr-name">APXS2</td>
|
121
|
+
<td>=</td>
|
122
|
+
<td class="attr-value">find_apxs2</td>
|
123
|
+
</tr>
|
124
|
+
<tr valign='top'>
|
125
|
+
<td> </td>
|
126
|
+
<td colspan="2" class="attr-desc">
|
127
|
+
The absolute path to the ‘apxs’ or ‘apxs2’
|
128
|
+
executable.
|
129
|
+
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr valign='top'>
|
133
|
+
<td class="attr-name">APACHE2_BINDIR</td>
|
134
|
+
<td>=</td>
|
135
|
+
<td class="attr-value">determine_apache2_bindir</td>
|
136
|
+
</tr>
|
137
|
+
<tr valign='top'>
|
138
|
+
<td> </td>
|
139
|
+
<td colspan="2" class="attr-desc">
|
140
|
+
The absolute path to the Apache 2 ‘bin’ directory.
|
141
|
+
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
<tr valign='top'>
|
145
|
+
<td class="attr-name">APACHE2_SBINDIR</td>
|
146
|
+
<td>=</td>
|
147
|
+
<td class="attr-value">determine_apache2_sbindir</td>
|
148
|
+
</tr>
|
149
|
+
<tr valign='top'>
|
150
|
+
<td> </td>
|
151
|
+
<td colspan="2" class="attr-desc">
|
152
|
+
The absolute path to the Apache 2 ‘sbin’ directory.
|
153
|
+
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr valign='top'>
|
157
|
+
<td class="attr-name">APACHE2CTL</td>
|
158
|
+
<td>=</td>
|
159
|
+
<td class="attr-value">find_apache2ctl</td>
|
160
|
+
</tr>
|
161
|
+
<tr valign='top'>
|
162
|
+
<td> </td>
|
163
|
+
<td colspan="2" class="attr-desc">
|
164
|
+
The absolute path to the ‘apachectl’ or
|
165
|
+
‘apache2ctl’ binary.
|
166
|
+
|
167
|
+
</td>
|
168
|
+
</tr>
|
169
|
+
<tr valign='top'>
|
170
|
+
<td class="attr-name">HTTPD</td>
|
171
|
+
<td>=</td>
|
172
|
+
<td class="attr-value">find_httpd</td>
|
173
|
+
</tr>
|
174
|
+
<tr valign='top'>
|
175
|
+
<td> </td>
|
176
|
+
<td colspan="2" class="attr-desc">
|
177
|
+
The absolute path to the Apache binary (that is, ‘httpd’,
|
178
|
+
‘httpd2’, ‘apache’ or ‘apache2’).
|
179
|
+
|
180
|
+
</td>
|
181
|
+
</tr>
|
182
|
+
<tr valign='top'>
|
183
|
+
<td class="attr-name">APR_CONFIG</td>
|
184
|
+
<td>=</td>
|
185
|
+
<td class="attr-value">find_apr_config</td>
|
186
|
+
</tr>
|
187
|
+
<tr valign='top'>
|
188
|
+
<td> </td>
|
189
|
+
<td colspan="2" class="attr-desc">
|
190
|
+
The absolute path to the ‘apr-config’ or
|
191
|
+
‘apr-1-config’ executable.
|
192
|
+
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr valign='top'>
|
196
|
+
<td class="attr-name">APU_CONFIG</td>
|
197
|
+
<td>=</td>
|
198
|
+
<td class="attr-value">find_apu_config</td>
|
199
|
+
</tr>
|
200
|
+
<tr valign='top'>
|
201
|
+
<td class="attr-name">APXS2_FLAGS</td>
|
202
|
+
<td>=</td>
|
203
|
+
<td class="attr-value">determine_apxs2_flags</td>
|
204
|
+
</tr>
|
205
|
+
<tr valign='top'>
|
206
|
+
<td> </td>
|
207
|
+
<td colspan="2" class="attr-desc">
|
208
|
+
The C compiler flags that are necessary to compile an Apache module.
|
209
|
+
|
210
|
+
</td>
|
211
|
+
</tr>
|
212
|
+
<tr valign='top'>
|
213
|
+
<td class="attr-name">APR_LIBS</td>
|
214
|
+
<td>=</td>
|
215
|
+
<td class="attr-value">determine_apr_info</td>
|
216
|
+
</tr>
|
217
|
+
<tr valign='top'>
|
218
|
+
<td class="attr-name">APU_LIBS</td>
|
219
|
+
<td>=</td>
|
220
|
+
<td class="attr-value">determine_apu_info</td>
|
221
|
+
</tr>
|
222
|
+
<tr valign='top'>
|
223
|
+
<td class="attr-name">MULTI_ARCH_FLAGS</td>
|
224
|
+
<td>=</td>
|
225
|
+
<td class="attr-value">determine_multi_arch_flags</td>
|
226
|
+
</tr>
|
227
|
+
<tr valign='top'>
|
228
|
+
<td> </td>
|
229
|
+
<td colspan="2" class="attr-desc">
|
230
|
+
The C compiler flags that are necessary for building binaries in the same
|
231
|
+
architecture(s) as Apache.
|
232
|
+
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr valign='top'>
|
236
|
+
<td class="attr-name">LIBEXT</td>
|
237
|
+
<td>=</td>
|
238
|
+
<td class="attr-value">determine_library_extension</td>
|
239
|
+
</tr>
|
240
|
+
<tr valign='top'>
|
241
|
+
<td> </td>
|
242
|
+
<td colspan="2" class="attr-desc">
|
243
|
+
The current platform‘s shared library extension (‘so’ on
|
244
|
+
most Unices).
|
245
|
+
|
246
|
+
</td>
|
247
|
+
</tr>
|
248
|
+
<tr valign='top'>
|
249
|
+
<td class="attr-name">LINUX_DISTRO</td>
|
250
|
+
<td>=</td>
|
251
|
+
<td class="attr-value">determine_linux_distro</td>
|
252
|
+
</tr>
|
253
|
+
<tr valign='top'>
|
254
|
+
<td> </td>
|
255
|
+
<td colspan="2" class="attr-desc">
|
256
|
+
An identifier for the current Linux distribution. nil if the operating
|
257
|
+
system is not Linux.
|
258
|
+
|
259
|
+
</td>
|
260
|
+
</tr>
|
261
|
+
</table>
|
262
|
+
|
263
|
+
|
264
|
+
<div class="sectiontitle">Public Class methods</div>
|
265
|
+
<div class="method">
|
266
|
+
<div class="title">
|
267
|
+
<a name="M000007"></a><b>find_command</b>(name)
|
268
|
+
</div>
|
269
|
+
<div class="description">
|
270
|
+
<p>
|
271
|
+
Check whether the specified command is in $PATH, and return its absolute
|
272
|
+
filename. Returns nil if the command is not found.
|
273
|
+
</p>
|
274
|
+
<p>
|
275
|
+
This function exists because system(‘which’) doesn‘t
|
276
|
+
always behave correctly, for some weird reason.
|
277
|
+
</p>
|
278
|
+
</div>
|
279
|
+
<div class="sourcecode">
|
280
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000007_source')" id="l_M000007_source">show source</a> ]</p>
|
281
|
+
<div id="M000007_source" class="dyn-source">
|
282
|
+
<pre>
|
283
|
+
<span class="ruby-comment cmt"># File lib/passenger/platform_info.rb, line 260</span>
|
284
|
+
260: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">find_command</span>(<span class="ruby-identifier">name</span>)
|
285
|
+
261: <span class="ruby-constant">ENV</span>[<span class="ruby-value str">'PATH'</span>].<span class="ruby-identifier">split</span>(<span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">PATH_SEPARATOR</span>).<span class="ruby-identifier">detect</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">directory</span><span class="ruby-operator">|</span>
|
286
|
+
262: <span class="ruby-identifier">path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">directory</span>, <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_s</span>)
|
287
|
+
263: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">executable?</span>(<span class="ruby-identifier">path</span>)
|
288
|
+
264: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">path</span>
|
289
|
+
265: <span class="ruby-keyword kw">end</span>
|
290
|
+
266: <span class="ruby-keyword kw">end</span>
|
291
|
+
267: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
292
|
+
268: <span class="ruby-keyword kw">end</span>
|
293
|
+
</pre>
|
294
|
+
</div>
|
295
|
+
</div>
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
|
299
|
+
</div>
|
300
|
+
|
301
|
+
</body>
|
302
|
+
</html>
|
@@ -0,0 +1,197 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<title>Module: RakeExtensions</title>
|
8
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
9
|
+
<link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
|
10
|
+
|
11
|
+
<script language="JavaScript" type="text/javascript">
|
12
|
+
// <![CDATA[
|
13
|
+
|
14
|
+
function toggleSource( id )
|
15
|
+
{
|
16
|
+
var elem
|
17
|
+
var link
|
18
|
+
|
19
|
+
if( document.getElementById )
|
20
|
+
{
|
21
|
+
elem = document.getElementById( id )
|
22
|
+
link = document.getElementById( "l_" + id )
|
23
|
+
}
|
24
|
+
else if ( document.all )
|
25
|
+
{
|
26
|
+
elem = eval( "document.all." + id )
|
27
|
+
link = eval( "document.all.l_" + id )
|
28
|
+
}
|
29
|
+
else
|
30
|
+
return false;
|
31
|
+
|
32
|
+
if( elem.style.display == "block" )
|
33
|
+
{
|
34
|
+
elem.style.display = "none"
|
35
|
+
link.innerHTML = "show source"
|
36
|
+
}
|
37
|
+
else
|
38
|
+
{
|
39
|
+
elem.style.display = "block"
|
40
|
+
link.innerHTML = "hide source"
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
function openCode( url )
|
45
|
+
{
|
46
|
+
window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus();
|
47
|
+
}
|
48
|
+
// ]]>
|
49
|
+
</script>
|
50
|
+
</head>
|
51
|
+
|
52
|
+
<body>
|
53
|
+
<table width="100%" border='0' cellpadding='0' cellspacing='0' class='banner'><tr>
|
54
|
+
<td class="file-title"><span class="file-title-prefix">Module</span><br />RakeExtensions</td>
|
55
|
+
<td align="right">
|
56
|
+
<table cellspacing="0" cellpadding="2">
|
57
|
+
<tr valign="top">
|
58
|
+
<td>In:</td>
|
59
|
+
<td>
|
60
|
+
<a href="../files/lib/rake/extensions_rb.html">lib/rake/extensions.rb</a>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
</table>
|
64
|
+
</td>
|
65
|
+
</tr>
|
66
|
+
</table>
|
67
|
+
<!-- banner header -->
|
68
|
+
|
69
|
+
<div id="bodyContent">
|
70
|
+
<div id="content">
|
71
|
+
|
72
|
+
<div class="description"><p>
|
73
|
+
Provides useful extensions for Rake.
|
74
|
+
</p>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div class="sectiontitle">Methods</div>
|
80
|
+
<ul>
|
81
|
+
<li><a href="#M000006">subdir</a></li>
|
82
|
+
</ul>
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<div class="sectiontitle">Public Instance methods</div>
|
90
|
+
<div class="method">
|
91
|
+
<div class="title">
|
92
|
+
<a name="M000006"></a><b>subdir</b>(dir, &block)
|
93
|
+
</div>
|
94
|
+
<div class="description">
|
95
|
+
<p>
|
96
|
+
Allows one to define Rake rules in the context of the given subdirectory.
|
97
|
+
For example,
|
98
|
+
</p>
|
99
|
+
<pre>
|
100
|
+
subdir 'foo' do
|
101
|
+
file 'libfoo.so' => ['foo.c'] do
|
102
|
+
sh 'gcc foo.c -shared -fPIC -o libfoo.so'
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
subdir 'bar' do
|
107
|
+
file 'bar' => ['bar.c', '../foo/libfoo.so'] do
|
108
|
+
sh 'gcc bar.c -o bar -L../foo -lfoo'
|
109
|
+
end
|
110
|
+
end
|
111
|
+
</pre>
|
112
|
+
<p>
|
113
|
+
is equivalent to:
|
114
|
+
</p>
|
115
|
+
<pre>
|
116
|
+
file 'foo/libfoo.so' => ['foo/foo.c'] do
|
117
|
+
Dir.chdir('foo') do
|
118
|
+
sh 'gcc foo.c -shared -fPIC -o libfoo.so'
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
file 'bar/bar' => ['bar/bar.c', 'foo/libfoo.so'] do
|
123
|
+
Dir.chdir('bar') do
|
124
|
+
sh 'gcc bar.c -o bar -L../foo -lfoo'
|
125
|
+
end
|
126
|
+
end
|
127
|
+
</pre>
|
128
|
+
<h3>String dependencies are assumed to be filenames</h3>
|
129
|
+
<p>
|
130
|
+
But be careful with string dependencies. They are assumed to be filenames,
|
131
|
+
and will be automatically converted. For example:
|
132
|
+
</p>
|
133
|
+
<pre>
|
134
|
+
subdir 'foo' do
|
135
|
+
task 'super_app' => ['super_app:compile', 'super_app:unit_test']
|
136
|
+
|
137
|
+
task 'super_app:compile' do
|
138
|
+
...
|
139
|
+
end
|
140
|
+
|
141
|
+
task 'super_app:unit_test' do
|
142
|
+
...
|
143
|
+
end
|
144
|
+
end
|
145
|
+
</pre>
|
146
|
+
<p>
|
147
|
+
will be treated like:
|
148
|
+
</p>
|
149
|
+
<pre>
|
150
|
+
subdir 'foo' do
|
151
|
+
# !!!!!!!
|
152
|
+
task 'super_app' => ['foo/super_app:compile', 'foo/super_app:unit_test']
|
153
|
+
|
154
|
+
task 'super_app:compile' do
|
155
|
+
...
|
156
|
+
end
|
157
|
+
|
158
|
+
task 'super_app:unit_test' do
|
159
|
+
...
|
160
|
+
end
|
161
|
+
end
|
162
|
+
</pre>
|
163
|
+
<p>
|
164
|
+
To solve this, declare your dependencies as symbols:
|
165
|
+
</p>
|
166
|
+
<pre>
|
167
|
+
task 'super_app' => [:'super_app:compile', :'super_app:unit_test']
|
168
|
+
</pre>
|
169
|
+
<p>
|
170
|
+
(note the leading ’:’ character)
|
171
|
+
</p>
|
172
|
+
<h3>Supported Rake commands</h3>
|
173
|
+
<p>
|
174
|
+
Only the <tt>file</tt> and <tt>target</tt> Rake commands are supported.
|
175
|
+
</p>
|
176
|
+
</div>
|
177
|
+
<div class="sourcecode">
|
178
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000006_source')" id="l_M000006_source">show source</a> ]</p>
|
179
|
+
<div id="M000006_source" class="dyn-source">
|
180
|
+
<pre>
|
181
|
+
<span class="ruby-comment cmt"># File lib/rake/extensions.rb, line 92</span>
|
182
|
+
92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">subdir</span>(<span class="ruby-identifier">dir</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
183
|
+
93: <span class="ruby-identifier">subdir</span> = <span class="ruby-constant">Subdir</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">dir</span>)
|
184
|
+
94: <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">dir</span>) <span class="ruby-keyword kw">do</span>
|
185
|
+
95: <span class="ruby-identifier">subdir</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
186
|
+
96: <span class="ruby-keyword kw">end</span>
|
187
|
+
97: <span class="ruby-keyword kw">end</span>
|
188
|
+
</pre>
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
|
194
|
+
</div>
|
195
|
+
|
196
|
+
</body>
|
197
|
+
</html>
|