Deploy the ROR app on a machine without internet access

I am filling out a simple Ror hello world application. Now the problem is how can I deploy her another Window machine, which is physically disconnected from the Internet. I can copy files and applications via USB. But how can I install gem on this machine? Does anyone have a similar experience?

+4
source share
2 answers

You can do bundle packageto pack gems (by car with the Internet) and copy.

Then you can set local stones using bundler:

bundle install --local

Not that you yourself can get a pearl:

gem install --local bundle.gem

where is bundle.gemobtained using gem fetch bundler.

+3

, , ./vendor/cache. vendor , Bundler - , .

+1

Source: https://habr.com/ru/post/1570917/


All Articles