Sha256: 0377766826cf4f6fc3fe9689be91a3926f7c8279a15275d13ab3bdeda9315ea1

Contents?: true

Size: 1.38 KB

Versions: 20

Compression:

Stored size: 1.38 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">sudo gem 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 %> 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

20 entries across 20 versions & 3 rubygems

Version Path
vanity-1.7.1 vendor/ruby/1.9.1/gems/passenger-2.2.15/lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.15 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.14 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.13 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.12 lib/phusion_passenger/templates/version_not_found.html.erb
colouringcode-passenger-0.2 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.11 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.10 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.9 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.8 lib/phusion_passenger/templates/version_not_found.html.erb
colouringcode-passenger-0.1 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.7 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.6 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.5 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.3 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.4 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.1.3 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.0 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.1 lib/phusion_passenger/templates/version_not_found.html.erb
passenger-2.2.2 lib/phusion_passenger/templates/version_not_found.html.erb