Skip to content
Alberto Blázquez edited this page Nov 5, 2013 · 1 revision

The folders used for the project follows the usual convention in every common Rails app, based on the structure that appears below:

  • app/ Core application code, including models, views, controllers, and helpers
  • app/assets Applications assets such CSS, JavaScript files, and images
  • bin/ Binary executable files
  • config/ Application configuration
  • db/ Database files
  • doc/ Documentation for the application
  • lib/ Library modules
  • lib/assets Library assets such as CSS, JavaScript files, and images
  • log/ Application log files
  • public/ Data accessible to the public (e.g., web browsers), such as error pages
  • bin/rails A program for generating code, opening console sessions, or starting a local server
  • spec/ Application tests
  • tmp/ Temporary files
  • vendor/ Third-party code such as plugins and gems
  • vendor/assets Third-party assets

Other relevant files:

  • README.rdoc A brief description of the application
  • Rakefile Utility tasks available via the rake command
  • Gemfile Gem requirements for this app
  • Gemfile.lock A list of gems used to ensure that all copies of the app use the same gem versions
  • config.ru A configuration file for Rack middleware
  • .gitignore Patterns for files that should be ignored by Git
Clone this wiki locally