Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is a rails3 application builder?

As per rails usage:

$ rails new --help
Usage:
  rails new APP_PATH [options]

Options:
  -b, [--builder=BUILDER]        # Path to a application builder (can be a filesystem path or URL)
      [--old-style-hash]         # Force using old style hash (:foo => 'bar') on Ruby >= 1.9
      [--skip-gemfile]           # Don't create a Gemfile

What does this "application builder" refer to, and how does it compare to an application template (-m option)?

like image 362
Jonathan Maddison Avatar asked Jan 17 '12 15:01

Jonathan Maddison


People also ask

What is a Rails application?

Rails is a web application development framework written in the Ruby programming language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks.

How do I create a project in Rails?

Create a Rails applicationRun RubyMine and click New Project on the Welcome Screen. Name: specify a name for the project (rails-helloworld in our case). Location: specify a path to the directory in which you want to create the project. By default, RubyMine creates a directory with the same name as the project.

Is Ruby on Rails backend or frontend?

It does so by creating default structures for your code, your application's database and the web pages your application will serve up to the client. Seeing as Ruby on Rails runs on a web server and serves up information to client programs (web browsers), it's said to be a server-side or backend application.


1 Answers

Descriptions in API Doc

The application builder allows you to override elements of the application generator without being forced to reverse the operations of the default generator.

In a nutshell, you can define your default set of dependencies before creating a new rails app.

Check this post for more info.

like image 192
Marco Avatar answered Sep 20 '22 15:09

Marco