Ruby gem dependencies on offline server -


i have server totally disconnected internet (for strange security reasons).

how can make ruby dependencies various gems work in environment? might work bundler, how install bundler using gem without internet connection?

you can download bundler .gem file rubygems , install on server with

gem install /path/to/bundler.gem 

then can pack gems required application ./vendor/cache directory with

bundle package 

if deploy app (along ./vendor/cache directory) server , run

bundle install --local 

bundler won't go rubygems, instead install gems ./vendor/cache directory.

see bundler-package docs more information.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -