-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into orchestra
- Loading branch information
Showing
42 changed files
with
137 additions
and
90 deletions.
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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,4 @@ | |||
require "#{RAILS_ROOT}/config/environment" | require "#{RAILS_ROOT}/config/application" | ||
Rails.application.new | |||
require 'rails/info' | require 'rails/info' | ||
puts Rails::Info | puts Rails::Info |
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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +1,5 @@ | |||
# Require your environment file to bootstrap Rails | # Require your environment file to bootstrap Rails | ||
require ::File.dirname(__FILE__) + '/config/environment' | require File.expand_path('../config/application', __FILE__) | ||
|
|
||
# Dispatch the request | # Dispatch the request | ||
run Rails.application.new | run Rails.application.new |
48 changes: 48 additions & 0 deletions
48
railties/lib/rails/generators/rails/app/templates/config/application.rb
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,48 @@ | |||
# Bootstrap the Rails environment, frameworks, and default configuration | |||
require File.expand_path(File.join(File.dirname(__FILE__), 'boot')) | |||
|
|||
Rails::Initializer.run do |config| | |||
# Settings in config/environments/* take precedence over those specified here. | |||
# Application configuration should go into files in config/initializers | |||
# -- all .rb files in that directory are automatically loaded. | |||
|
|||
# Add additional load paths for your own custom dirs | |||
# config.load_paths += %W( #{RAILS_ROOT}/extras ) | |||
|
|||
# Specify gems that this application depends on and have them installed with rake gems:install | |||
# config.gem "bj" | |||
# config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net" | |||
# config.gem "sqlite3-ruby", :lib => "sqlite3" | |||
# config.gem "aws-s3", :lib => "aws/s3" | |||
|
|||
# Only load the plugins named here, in the order given (default is alphabetical). | |||
# :all can be used as a placeholder for all plugins not explicitly named | |||
# config.plugins = [ :exception_notification, :ssl_requirement, :all ] | |||
|
|||
# Skip frameworks you're not going to use. To use Rails without a database, | |||
# you must remove the Active Record framework. | |||
<% if options[:skip_activerecord] -%> | |||
config.frameworks -= [ :active_record ] | |||
<% else -%> | |||
# config.frameworks -= [ :active_record, :active_resource, :action_mailer ] | |||
|
|||
# Activate observers that should always be running | |||
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer | |||
<% end -%> | |||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. | |||
# Run "rake -D time" for a list of tasks for finding time zone names. | |||
config.time_zone = 'UTC' | |||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. | |||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}')] | |||
# config.i18n.default_locale = :de | |||
# Configure generators values. Many other options are available, be sure to | |||
# check the documentation. | |||
# config.generators do |g| | |||
# g.orm :active_record | |||
# g.template_engine :erb | |||
# g.test_framework :test_unit, :fixture => true | |||
# end | |||
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
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/about.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,4 +1,4 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" | $LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info" | ||
require 'rails/commands/about' | require 'rails/commands/about' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/console.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/console' | require 'rails/commands/console' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/dbconsole.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/dbconsole' | require 'rails/commands/dbconsole' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/destroy.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/destroy' | require 'rails/commands/destroy' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/generate.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/generate' | require 'rails/commands/generate' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/performance/benchmarker.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../../config/boot', __FILE__) | require File.expand_path('../../../config/application', __FILE__) | ||
require 'rails/commands/performance/benchmarker' | require 'rails/commands/performance/benchmarker' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/performance/profiler.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../../config/boot', __FILE__) | require File.expand_path('../../../config/application', __FILE__) | ||
require 'rails/commands/performance/profiler' | require 'rails/commands/performance/profiler' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/plugin.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/plugin' | require 'rails/commands/plugin' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/runner.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/runner' | require 'rails/commands/runner' |
2 changes: 1 addition & 1 deletion
2
railties/lib/rails/generators/rails/app/templates/script/server.tt
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,3 +1,3 @@ | |||
<%= shebang %> | <%= shebang %> | ||
require File.expand_path('../../config/boot', __FILE__) | require File.expand_path('../../config/application', __FILE__) | ||
require 'rails/commands/server' | require 'rails/commands/server' |
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
Oops, something went wrong.