Ruby On Rails Classroom image

Neeraj  Amoli / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  |1 | 2|Last
Lessons:- Planning the Application

Planning the Application

In this section, we’ll outline our plans for the demo application. As in Section 1.2.3, we’ll start by generating the application skeleton using the rails command:

cd   ̃/rails projects
$  rails new demo app
cd demo app

 

Next, we’ll use a text editor to update the Gemfile needed by Bundler with the contents of Listing 2.1.

 

Note that Listing 2.1 is identical to Listing 1.5 except for the addition of a gem needed in production at Heroku:

group  :production  do
     gem 'pg', '0.12.2'
end

 

The pg gem is needed to access PostgreSQL (‘‘post-gres-cue-ell’’), the database used byHeroku.

We then install and include the gems using the bundle install command:

bundle  install  --without  production

 

 
 
 
image
Neeraj  Amoli

Skills    Ruby On Rails

Qualifications :-
Location :-Dehradun,Dehradun,Uttrakhand,India
Description:-

I have 3 year experience as a Software Engineer. My Skilled are Android Development (Java), ROR Development .   


Explore
 

  Students (0)