fritteli / gentoo-overlay

https://gittr.ch/linux/gentoo-overlay
GNU General Public License v2.0
24 stars 7 forks source link

make www-apps/gitlab-ce not download ruby gems? #36

Closed fpemud closed 8 years ago

fpemud commented 8 years ago

It's difficult for me to download all the ruby gems that www-apps/gitlab-ce needs. Do you think it's doable to write ebuilds for all related ruby gems and make www-apps/gitlab-ce depends on them? I'd like to work on it if it is appropriate.

fpemud-workstation / # emerge gitlab-ce -1
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-apps/gitlab-ce-8.7.0::layman
 * gitlab-ce-8.7.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking gitlab-ce-8.7.0.tar.gz to /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all
>>> Source unpacked in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work
>>> Preparing source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
 * Running prepare phase for all ...
 * Applying gitlab-ce-fix-sendmail-config.patch ...                                                                    [ ok ]
 * Applying gitlab-ce-8.7.0-fix-redis-config-path.patch ...                                                            [ ok ]
 * Running source copy phase for ruby21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-apps/gitlab-ce-8.7.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: www-apps/gitlab-ce-8.7.0

>>> Install gitlab-ce-8.7.0 into /var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/ category www-apps
 * Running install phase for all ...
 * Running bundle install --deployment --without development test aws mysql kerberos ...
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rake-10.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/CFPropertyList-2.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/RedCloth-4.2.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/ace-rails-ap-2.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/i18n-0.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/json-1.8.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/minitest-5.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/thread_safe-0.3.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/builder-3.2.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/erubis-2.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mini_portile2-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rack-1.6.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mime-types-1.25.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/arel-6.0.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/activerecord-deprecated_finders-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/thor-0.19.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/addressable-2.3.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/akismet-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/allocations-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multipart-post-2.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multi_json-1.11.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/jwt-1.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/multi_xml-0.5.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/asciidoctor-1.5.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/encryptor-1.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/attr_required-1.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/execjs-2.6.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/ice_nine-0.11.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/babosa-1.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/bcrypt-3.1.10.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/sass-3.4.21.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/browser-1.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/cal-heatmap-rails-3.5.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/cause-0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/charlock_holmes-0.7.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/chunky_png-1.3.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/coffee-script-source-1.10.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/colorize-0.7.7.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/concurrent-ruby-1.0.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/connection_pool-2.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/safe_yaml-1.0.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/creole-0.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/orm_adapter-0.5.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rotp-2.1.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/diff-lcs-1.2.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/diffy-3.0.7.gem)
Using bundler 1.11.2

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/email_reply_parser-0.5.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/equalizer-0.0.11.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/escape_utils-1.1.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/eventmachine-1.0.8.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/excon-0.45.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/expression_parser-0.9.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/formatador-0.2.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/ipaddress-0.8.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/xml-simple-1.1.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/inflecto-0.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rugged-0.24.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/get_process_mem-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/github-markup-1.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/posix-spawn-0.3.11.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/gitlab_meta-7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/net-ldap-0.12.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/hashie-3.4.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/pyu-ruby-sasl-0.0.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rubyntlm-0.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rouge-1.10.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/stringex-2.5.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/request_store-1.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/tilt-2.0.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/sexp_processor-4.7.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mimemagic-0.3.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/htmlentities-4.3.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/http_parser.rb-0.5.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/httpclient-2.7.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/jquery-atwho-rails-1.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/kgio-2.10.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/systemu-2.6.5.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mail_room-0.6.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/method_source-0.8.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/mousetrap-rails-1.4.6.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/nested_form-0.3.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/net-ssh-3.0.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/newrelic_rpm-3.14.1.311.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/oauth-0.4.7.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rubypants-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/pg-0.18.4.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rack-cors-0.4.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/raindrops-0.15.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/raphael-rails-2.1.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/redcarpet-3.3.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/redis-3.2.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/rinku-1.7.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/rufus-scheduler-3.1.10.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/settingslogic-2.0.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/simple_oauth-0.1.9.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/six-0.2.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/slack-notifier-1.2.1.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/state_machines-0.4.0.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/underscore-rails-1.8.3.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://rubygems.org/gems/unf_ext-0.0.7.2.gem)

Gem::RemoteFetcher::FetchError: Errno::ECONNRESET: Connection reset by peer - connect(2) (https://rubygems.org/gems/version_sorter-2.0.0.gem)
An error occurred while installing rake (10.5.0), and Bundler cannot continue.
Make sure that `gem install rake -v '10.5.0'` succeeds before bundling.
 * ERROR: www-apps/gitlab-ce-8.7.0::layman failed (install phase):
 *   bundler failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4794:  Called ruby-ng_src_install
 *   environment, line 4598:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line  589:  Called all_ruby_install
 *   environment, line  705:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-8.7.0::layman'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-8.7.0::layman'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =gitlab-ce-8.7.0
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/opt/gitlab'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all/gitlabhq-8.7.0'

>>> Failed to emerge www-apps/gitlab-ce-8.7.0, Log file:

>>>  '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'

 * Messages for package www-apps/gitlab-ce-8.7.0:

 * ERROR: www-apps/gitlab-ce-8.7.0::layman failed (install phase):
 *   bundler failed
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_install
 *   environment, line 4794:  Called ruby-ng_src_install
 *   environment, line 4598:  Called _ruby_invoke_environment 'all' 'all_ruby_install'
 *   environment, line  589:  Called all_ruby_install
 *   environment, line  705:  Called die
 * The specific snippet of code:
 *       ${RUBY} /usr/bin/bundle install ${bundle_args} || die "bundler failed";
 * 
 * If you need support, post the output of `emerge --info '=www-apps/gitlab-ce-8.7.0::layman'`,
 * the complete build log and the output of `emerge -pqv '=www-apps/gitlab-ce-8.7.0::layman'`.
 * The complete build log is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/image/opt/gitlab'
 * S: '/var/tmp/portage/www-apps/gitlab-ce-8.7.0/work/all/gitlabhq-8.7.0'
fritteli commented 8 years ago

Hmm ... there are many dependencies, so you'd have to create quite a lot of ebuilds for each of them. I personally wouldn't want to maintain them. Also, I'm not experienced enough with ruby and the ruby ecosystem to perform such a task. But if you like, you can obviously give it a try. I'm gladly accepting pull requests if it improves the stability and maintainability of the ebuild.

Before you start, please have a look at this page in the Gentoo wiki: https://wiki.gentoo.org/wiki/GitLab There you'll find a link to the "more official" Gitlab overlay which might work better for you:

If you're using layman, you can add it by simply issuing a layman -a gitlab in your terminal.

Out of curiosity: Was this a fresh install, or did you try to upgrade an existing Gitlab installation? If so, was it the first time you experienced problems downloading the gems? Could it have been only a temporary problem that has magically resolved itself in the meantime?

fpemud commented 8 years ago

Thanks for the hint. I will try to implement it and submit to the official gitlab overlay.

gitlab-ce depends on 141 ruby gems. 84 of which are already in gentoo repository.

ruby gem gentoo package
rake dev-ruby/rake
RedCloth dev-ruby/redcloth
i18n dev-ruby/i18n
json dev-ruby/json
minitest dev-ruby/minitest
thread_safe dev-ruby/thread_safe
builder dev-ruby/builder
erubis dev-ruby/erubis
rack dev-ruby/rack
mime-types dev-ruby/mime-types
arel dev-ruby/arel
activerecord-deprecated_finders dev-ruby/activerecord-deprecated_finders
thor dev-ruby/thor
addressable dev-ruby/addressable
akismet dev-ruby/akismet
multipart-post dev-ruby/multipart-post
multi_json dev-ruby/multi_json
jwt dev-ruby/jwt
multi_xml dev-ruby/multi_xml
asciidoctor dev-ruby/asciidoctor
execjs dev-ruby/execjs
bcrypt dev-ruby/bcrypt-ruby
sass dev-ruby/sass
charlock_holmes dev-ruby/charlock_holmes
chunky_png dev-ruby/chunky_png
coffee-script-source dev-ruby/coffee-script-source
colorize dev-ruby/colorize
concurrent-ruby dev-ruby/concurrent-ruby
connection_pool dev-ruby/connection_pool
safe_yaml dev-ruby/safe_yaml
creole dev-ruby/creole
diff-lcs dev-ruby/diff-lcs
equalizer dev-ruby/equalizer
escape_utils dev-ruby/escape_utils
eventmachine dev-ruby/eventmachine
expression_parser dev-ruby/expression_parser
xml-simple dev-ruby/xml-simple
posix-spawn dev-ruby/posix-spawn
net-ldap dev-ruby/ruby-net-ldap
hashie dev-ruby/hashie
rubyntlm dev-ruby/rubyntlm
rouge dev-ruby/rouge
stringex dev-ruby/stringex
request_store dev-ruby/request_store
tilt dev-ruby/tilt
sexp_processor dev-ruby/sexp_processor
mimemagic dev-ruby/mimemagic
htmlentities dev-ruby/htmlentities
http_parser.rb dev-ruby/http_parser_rb
httpclient dev-ruby/httpclient
systemu dev-ruby/systemu
method_source dev-ruby/method_source
mysql2 dev-ruby/mysql2
net-ssh dev-ruby/net-ssh
oauth dev-ruby/oauth
rubypants dev-ruby/rubypants
redcarpet dev-ruby/redcarpet
redis dev-ruby/redis
rinku dev-ruby/rinku
settingslogic dev-ruby/settingslogic
simple_oauth dev-ruby/simple_oauth
six dev-ruby/six
unf_ext dev-ruby/unf_ext
rdoc dev-ruby/rdoc
tzinfo dev-ruby/tzinfo
descendants_tracker dev-ruby/descendants_tracker
nokogiri dev-ruby/nokogiri
rack-test dev-ruby/rack-test
warden dev-ruby/warden
rack-mount dev-ruby/rack-mount
rack-attack dev-ruby/rack-attack
rack-protection dev-ruby/rack-protection
mail dev-ruby/mail
css_parser dev-ruby/css_parser
faraday dev-ruby/faraday
httparty dev-ruby/httparty
uglifier dev-ruby/uglifier
rqrcode dev-ruby/rqrcode
coffee-script dev-ruby/coffee-script
sprockets dev-ruby/sprockets
crack dev-ruby/crack
omniauth dev-ruby/omniauth
haml dev-ruby/haml
ruby_parser dev-ruby/ruby_parser

ruby gems that are not in gentoo repository: CFPropertyList ace-rails-ap mini_portile2 allocations encryptor attr_required ice_nine babosa browser cal-heatmap-rails cause orm_adapter rotp diffy Using email_reply_parser excon formatador ipaddress inflecto rugged get_process_mem github-markup gitlab_meta pyu-ruby-sasl jquery-atwho-rails kgio mail_room mousetrap-rails nested_form newrelic_rpm rack-cors raindrops raphael-rails rufus-scheduler slack-notifier state_machines underscore-rails version_sorter fission gemojione recaptcha rack-accept select2-rails attr_encrypted autoprefixer-rails influxdb fog-core gemnasium-gitlab-service github-linguist gollum-rugged_adapter licensee gitlab-grit

dev-0x7C6 commented 8 years ago

Downloading process never failed me. I emerged many versions of gitlab-ce from this overlay and I found all-in-one solution painless and effective for my embedded platforms. This is just my opinion - I personally think that gems shouldn't be system wide, they should be service wide to avoid version collision, misconfigurations and etc. This even reminds me docker approach that is very successful those days.

fpemud commented 8 years ago

It's really weird that I can't download the ruby gems.

But it is said in the ebuild file that:

# Maintainer notes:
# - This ebuild uses Bundler to download and install all gems in deployment mode
#   (i.e. into isolated directory inside application). That's not Gentoo way how
#   it should be done, but GitLab has too many dependencies that it will be too
#   difficult to maintain them via ebuilds.
#

I think what I'm going to do is on the correct path.

dev-0x7C6 commented 8 years ago

There is no word about disadvantages and adventages of Gentoo way (and for example is firefox-bin a Gentoo way?). I really don't have any idea how to satisfy many services with global instance of gems. I think that ruby services never meant to be this way. Ruby is very rapid beast and gems depends on each other (including version awareness there). Problem raise when more ruby services will share same gems in different version, then ebuilds for them should be sloted, and how to manage sloted gems !? - maybe there is something I'm missing and the problem is trivial.

I don't know how bad is this solution for the upstream, for me this solution is very clean from gems managment point of view.

fritteli commented 8 years ago

@fpemud Are you connecting through a proxy server that might prevent you from downloading the gems? Are you experiencing the same problems with other packages? I never had any problems either, just like @dev-0x7C6 ...