-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Hi,
I would use gem server as mirror for my intranet, but i get errors. Following is installed on the server side:
for@vm:/var/lib/gems/2.1.0/gems$ gem list
*** LOCAL GEMS ***
addressable (2.3.8)
afm (0.2.2)
Ascii85 (1.0.2)
asciidoctor (1.5.2, 1.5.0)
asciidoctor-pdf (1.5.0.alpha.8)
bigdecimal (1.2.4)
builder (3.2.2)
coderay (1.1.0)
confstruct (1.0.1)
css_parser (1.3.6)
cucumber (2.0.2)
cucumber-core (1.2.0)
daemons (1.2.3)
diff-lcs (1.2.5)
eventmachine (1.0.7)
gherkin (2.12.2)
hashery (2.1.1)
hashie (3.4.2)
httpclient (2.6.0.1)
io-console (0.4.3)
json (1.8.1)
minitest (4.7.5)
multi_json (1.11.2)
multi_test (0.1.2)
pdf-core (0.6.0)
pdf-reader (1.3.3)
polyglot (0.3.5)
prawn (2.0.2)
prawn-icon (0.6.4)
prawn-svg (0.20.0)
prawn-table (0.2.1)
prawn-templates (0.0.3)
psych (2.0.5)
rack (1.6.4)
rack-protection (1.5.3)
rake (10.1.0)
rdoc (4.1.0)
ruby-rc4 (0.1.5)
safe_yaml (1.0.4)
sinatra (1.4.6)
slop (3.6.0)
test-unit (2.1.6.0)
thin (1.6.3)
thread_safe (0.3.4)
tilt (2.0.1)
treetop (1.5.3)
ttfunk (1.4.0)
for@vm:/var/lib/gems/2.1.0/gems$
No I try to install with bundler and following Gemfile:
source 'http://173.17.41.6:8808'
gem 'rake'
gem 'asciidoctor', '1.5.0'
gem 'asciidoctor-pdf', '1.5.0.alpha.8'
gem 'coderay'
gem 'thread_safe'
Then I get following error:
C:\Data\mytest\scm_server>bundle install
Fetching source index from http://173.17.41.6:8808/
Net::HTTPNotFound: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<HTML>
<HEAD><TITLE>Not Found</TITLE></HEAD>
<BODY>
<H1>Not Found</H1>
`/quick/Marshal.4.8/asciidoctor-pdf-1.5.0.alpha.8.gemspec.rz' not found.
<HR>
<ADDRESS>
WEBrick/1.3.1 (Ruby/2.1.6/2015-04-13) at
173.17.41.6:8808
</ADDRESS>
</BODY>
</HTML>
C:\Data\mytest\scm_server>
If I replace the source in Gemfile to https://rubygems.org then I have no problems. How can I solve the problem?
Best regards,