This file contains hidden or 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
| $ vagrant reload | |
| ==> redis2: Clearing any previously set forwarded ports... | |
| ==> redis2: Clearing any previously set network interfaces... | |
| ==> redis2: Preparing network interfaces based on configuration... | |
| redis2: Adapter 1: nat | |
| redis2: Adapter 2: hostonly | |
| ==> redis2: Forwarding ports... | |
| redis2: 22 => 2222 (adapter 1) | |
| ==> redis2: Booting VM... | |
| ==> redis2: Waiting for machine to boot. This may take a few minutes... |
This file contains hidden or 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
| # Package Maintainer: Increment phusion_release to match latest release available | |
| %define phusion_release 2011.03 | |
| Summary: Ruby Enterprise Edition (Release %{phusion_release}) | |
| Name: ruby-enterprise | |
| Vendor: Phusion.nl <info@phusion.nl> | |
| Packager: Adam Vollrath <hosting@endpoint.com> | |
| Version: 1.8.7 | |
| Release: 8%{dist} | |
| License: Ruby or GPL v2 |
This file contains hidden or 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
| Search::Application.routes.draw do | |
| # GET /search.:format | |
| resources :search, :only => [:index] | |
| # GET /locations.:format | |
| resources :locations, :only => [:index] | |
| # GET /post.:format | |
| resources :post, :module => 'admin', :only => [:index] |
This file contains hidden or 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
| class ApplicationController < ActionController::Base | |
| rescue_from ActionController::RoutingError, :with => :route_not_found | |
| rescue_from ActionController::UnknownAction, :with => :unknown_action | |
| rescue_from ActionController::MethodNotAllowed, :with => :method_not_allowed | |
| if (defined? ActiveRecord) | |
| rescue_from ActiveRecord::RecordNotFound, :with => :record_not_found | |
| end | |
| def route_not_found(exception) | |
| handle_error('no route', :status => :not_found) |