Where should I save standalone non-ruble scripts in my Rails application?

This is a simple question, but I could not find the exact answer in it.

I have a standalone Python script that I use in my Rails application. What suitable folder should I save in accordance with the agreement, so that I can push it to production (currently it starts from the desktop of my computer)? I think the answer is lib/assets, but I want to make sure.

+4
source share
1 answer

I do not think there is an exact answer to this question.

If it is a ruby ​​script, it is usually placed in libor bin.

From the rails folder descriptions in the Rails Getting Started Guide :

bin/ script, , , .

lib/ .

lib/assets, , , .

+4

All Articles