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
Post a Comment