ruby access denied
danielbush opened this issue · comments
Daniel Bush commented
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?