Ruby on Rails/Getting Started/Creating a Rails application

Using the rails command
On the command line type  replacing appname with the name of your application. This will create a directory called appname and will create the Rails application directory structure under that directory. The appname directory will be called the home directory for the application from here on. Typical list of folders and files in rails application would look like following          app          components          config          db           doc          lib          log          public         Rakefile         README          script          test          tmp          vendor

Using SVN
If you are using Subversion another option for creating new Rails apps is to create a fresh Rails app using the <tt>rails</tt> command, making changes that are common (i.e. add .ignore options for Subversion, set up standard plugins you always use, add database.yml.example, etc) and then commit it to Subversion under something like 'railsapp'. You can then check out into a new directory to construct the Rails app:

svn copy /rails/railsapp /rails/new_app svn checkout /rails/new_app