0

I seem to be getting a checksum error, being new to macports and not that great with package mangers in general other then searching and installing.

How would I go about getting past this issue?

--->  Computing dependencies for ruby
--->  Verifying checksum(s) for ruby
Error: Checksum (md5) mismatch for ruby-1.8.7-p334.tar.bz2
Error: Checksum (rmd160) mismatch for ruby-1.8.7-p334.tar.bz2
Error: Checksum (sha1) mismatch for ruby-1.8.7-p334.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<http://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for ruby is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
jbcurtin
  • 115
  • 4

2 Answers2

1

Checksum mismatches usually mean the upstream changed the tarball, This is typical for Ruby, where devs seem to be encouraged to stay far, far away from the concept of "release engineering" — which attribute makes it difficult for me to recommend Ruby in any sort of stable production model.

geekosaur
  • 7,175
  • 1
  • 20
  • 19
0

I can't answer the MacPorts question, but save yourself a lot of trouble and give RVM, rbenv, asdf, or chruby and ruby-install a try. You may also want to look into Homebrew, which is a well-maintained alternative to MacPorts and Fink.

Both are widely used by the Mac Ruby community.

ezkl
  • 101
  • 3
  • Well, I'd still need to support python, php, java, dotnet and ruby. Would homebrew accomplish this better then macports? – jbcurtin Mar 15 '11 at 17:28
  • PHP and Java are already supported natively on OS X. .NET isn't supported without something like [Mono](http://www.mono-project.com/Mono:OSX). You can see a list of Homebrew packages [here](https://github.com/mxcl/homebrew/tree/master/Library/Formula/). In my experience, anything that MacPorts can do, Homebrew does better. – ezkl Mar 15 '11 at 17:57