The Depot Application
6.1 Iteration A1: Getting Something Running
4 Instant Gratification
6.1 Iteration A1: Getting Something Running
ruby -rubygems /home/rubys/git/rails/railties/bin/rails depot
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
create app/helpers/application_helper.rb
create app/controllers/application_controller.rb
create app/views/layouts
create app/models
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/test.rb
create config/environments/production.rb
create config/environments/development.rb
create config/initializers
create config/initializers/session_store.rb
create config/initializers/inflections.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/cookie_verification_secret.rb
create config/initializers/mime_types.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/404.html
create public/500.html
create public/index.html
create public/robots.txt
create public/422.html
create public/favicon.ico
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/rails.js
create public/javascripts/controls.js
create public/javascripts/application.js
create public/javascripts/dragdrop.js
create public/javascripts/prototype.js
create public/javascripts/effects.js
create script
create script/rails
create test
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/integration
create test/unit
create test/functional
create test/fixtures
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
bundle install
Resolving dependencies
Installing abstract (1.0.0) from system gems
Installing actionmailer (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing actionpack (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing activemodel (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing activerecord (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing activeresource (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing activesupport (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing arel (0.2.1) from system gems
Installing builder (2.1.2) from system gems
Installing bundler (0.9.4) from system gems
Installing erubis (2.6.5) from system gems
Installing i18n (0.3.3) from system gems
Installing mail (2.1.2) from system gems
Installing memcache-client (1.7.8) from system gems
Installing mime-types (1.16) from system gems
Installing rack (1.1.0) from system gems
Installing rack-mount (0.4.7) from system gems
Installing rack-test (0.5.3) from system gems
Installing rails (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing railties (3.0.0.beta1) from source code at /home/rubys/git/rails
Installing rake (0.8.7) from system gems
Installing sqlite3-ruby (1.2.5) from system gems
Installing text-format (1.0.0) from system gems
Installing text-hyphen (1.0.0) from system gems
Installing thor (0.13.0) from system gems
Installing tzinfo (0.3.16) from system gems
Your bundle is complete!
edit config/routes.rb
Depot::Application.routes.draw do |map|
# ...
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
match ':controller(/:action(/:id(.:format)))'
end