E
E
eldar_web2017-10-11 19:17:53
Capistrano
eldar_web, 2017-10-11 19:17:53

Please explain what does development environment and production environment mean in the web?

There are things that you immediately understand, but there are some things that you don’t understand even if you hit the wall.
Here there are such concepts as development, and production when developing.
What I know is that different dependencies, gems, plugins are stored there.
Can you explain what it means in development some gems, and others in production, or what are these environments for?
I would like you to clearly explain how a wise man to a child, so that he understands once and for all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
amorphine, 2017-10-11
@amorphine

I can’t say for gems, but in dev builders, the assembly is usually with a watcher, unminified, with source maps. Prod - minified, without sourcemaps.
Because during development, debugging information is needed and the speed of generating assets is important. It's not needed for sale.

A
Alexey Pustoutov, 2018-03-09
@alex3319

gem - files are instructions for building the project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question