Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Update Crate to Ruby 1.9 #2

Closed
copiousfreetime opened this issue Apr 4, 2011 · 2 comments
Closed

Update Crate to Ruby 1.9 #2

copiousfreetime opened this issue Apr 4, 2011 · 2 comments

Comments

@copiousfreetime
Copy link
Owner

No description provided.

@wassy121
Copy link

wassy121 commented Dec 2, 2011

This at least allows me to run 'crate test-dir'

--- crate-0.2.1/lib/crate/utils.rb  2011-12-01 21:08:59.412707716 -0500
+++ .rvm/gems/crate-0.2.1/lib/crate/utils.rb    2011-12-01 21:04:55.280699586 -0500
@@ -51,8 +51,10 @@

       begin
         case uri
-        when URI::FTP  : download_via_ftp( uri, to )
-        when URI::HTTP : download_via_http( uri, to )
+        when URI::FTP
+          download_via_ftp( uri, to )
+        when URI::HTTP
+          download_via_http( uri, to )
         else
           raise ::Crate::Error, "Downloading is only supported via FTP or HTTP at this time"
         end

@copiousfreetime
Copy link
Owner Author

Putting crate as 'no longer in development' for the time being.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants