Sha256: cfeb49e310b9d26603c641ac8cfc2fec97cf59febf514c00ced767738eaedc0e

Contents?: true

Size: 1.45 KB

Versions: 27

Compression:

Stored size: 1.45 KB

Contents

<% layout 'error_layout', :title => "Ruby on Rails version '#{@error.gem_version_spec}' not found" do %>
<h1 class="error_title">Ruby on Rails version '<%=h @error.gem_version_spec %>' not found</h1>
<div id="content">

	<% if @error.gem_version_spec =~ /^\d/ %>
		
		The application <tt class="filename"><%=h @app_root %></tt> requires
		Ruby on Rails version <b><%=h @error.gem_version_spec %></b>,
		which is not installed. Please install it with the following command:
		<pre class="commands"><%= PlatformInfo.ruby_sudo_command %> <%= PlatformInfo.gem_command %> install rails --version <%=h @error.gem_version_spec %></pre>
		
	<% else %>
		
		The application <tt class="filename"><%=h @app_root %></tt> requires
		a Ruby on Rails version that matches the version specification
		"<%=h @error.gem_version_spec %>", but there is no such Ruby on Rails
		version installed. Please install it with the following command:
		<div class="commands">
			<%= PlatformInfo.gem_command %> install rails --version <em>some_version_number</em>
		</div>
		
	<% end %>
	
	<p>
	If you are unable to install Ruby on Rails (e.g. because you do not have
	control over this server) then you could also <em>vendor</em> (bundle)
	your Rails version into your application by running <pre>rake vendor:rails</pre>
	in your application's source directory, and redeploying your application.
	Please search the Internet for "vendor rails" if you're not familiar with
	this technique.
	</p>

</div>
<% end %>

Version data entries

27 entries across 27 versions & 4 rubygems

Version Path
passenger-3.0.21 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.19 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.18 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.17 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.15 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.14 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.13 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.12 lib/phusion_passenger/templates/version_not_found.html.erb
yspassenger-3.0.12 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.11 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.10 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.9 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.8 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.7 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.6 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.5 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.4 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.3 lib/phusion_passenger/templates/version_not_found.html.erb
railsware-passenger-3.0.2.1 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-3.0.2 lib/phusion_passenger/templates/version_not_found.html.erb