Skip to content

ruby access denied #18

@danielbush

Description

@danielbush

curl ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz was giving me an access denied so the build failed.

Trying this:

diff --git a/Dockerfile b/Dockerfile
index f7736ca..c933028 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -22,8 +22,8 @@ RUN add-apt-repository -y ppa:git-core/ppa;\
 # Install Ruby
 RUN mkdir /tmp/ruby;\
   cd /tmp/ruby;\
-  curl ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz | tar xz;\
-  cd ruby-2.0.0-p247;\
+  curl http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p598.tar.gz | tar xz;\
+  cd ruby-2.0.0-p598;\
   chmod +x configure;\
   ./configure --disable-install-rdoc;\
   make;\

Wouldn't it be better to use rvm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions