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?
You can do bundle packageto pack gems (by car with the Internet) and copy.
bundle package
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.
bundle.gem
gem fetch bundler
, , ./vendor/cache. vendor , Bundler - , .
./vendor/cache
vendor
Source: https://habr.com/ru/post/1570917/More articles:How to use Parse.com booleans in subclasses - swiftHow to get a child from PSObject using dot notation - syntaxHow to put type annotation in map / collect command? - rustHighlighting has_child request - elasticsearchHow to upgrade to receive an automatic renewable subscription - iosHow easy is it to find out which special function functions the compiler has chosen? - c ++С++: неявные функции-члены - c++The correct owner of the test object without equivalent - javatypeahead.js shows all results, not just results - javascriptsearch operation after twitter typeahead autocomplete asp.net mvc jquery ajax - jqueryAll Articles