Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If an app failed to start because of a LoadError, then correctly relo…
…ad RubyGems caches so that newly installed gems can be found.
- Loading branch information
1 parent
533a6cc
commit 824c0fd
Showing
5 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<% layout 'error_layout', :title => "Ruby on Rails application could not be started" do %> | ||
<h1 class="error_title">Ruby on Rails application could not be started</h1> | ||
<div id="content"> | ||
|
||
A source file that the application requires, is missing. | ||
<ul> | ||
<li class="first"> | ||
<div class="container"> | ||
<div class="content"> | ||
It is possible that you didn't upload your application files correctly. | ||
Please check whether all your application files are uploaded. | ||
</div> | ||
</div> | ||
</li> | ||
<li class="last"> | ||
<div class="container"> | ||
<div class="content"> | ||
A required library may not installed. Please install all libraries | ||
that this application requires. | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
Further information about the error may have been written to the | ||
application's log file. Please check it in order to analyse the problem. | ||
|
||
<dl> | ||
<dt>Error message:</dt> | ||
<dd><%=h @error.child_exception.message %></dd> | ||
|
||
<dt>Exception class:</dt> | ||
<dd><%=h @error.child_exception.class %></dd> | ||
|
||
<dt>Application root:</dt> | ||
<dd> | ||
<tt class="filename"><%=h @app_root %></tt> | ||
</dd> | ||
|
||
<dt>Backtrace:</dt> | ||
<dd> | ||
<%= backtrace_html_for(@error.child_exception) %> | ||
</dd> | ||
</dl> | ||
|
||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters