Ruby on Rails Set-up on jonamac
Initial Install Attempt
jonamac:~$ sudo port upgrade git-core +svn +doc +bash_completion
---> Checksumming certdata-1.58.txt
Error: Checksum (md5) mismatch for certdata-1.58.txt
Portfile checksum: certdata-1.58.txt md5 7d0926c462d973ebd4beee6f004ebcc5
Distfile checksum: certdata-1.58.txt md5 b93bd8dd813e4b0c12ddcc44dbfe1dbf
Error: Checksum (sha1) mismatch for certdata-1.58.txt
Portfile checksum: certdata-1.58.txt sha1 a5c98c10313a1e250a38df1fa53fb9978773891e
Distfile checksum: certdata-1.58.txt sha1 774c0132ac6920a4f37ce670bed4abcb6e21476c
Error: Checksum (rmd160) mismatch for certdata-1.58.txt
Portfile checksum: certdata-1.58.txt rmd160 7269b98e326e98b247a9d613dc1c11b06121caae
Distfile checksum: certdata-1.58.txt rmd160 5af26ece6f3e379b247ac8da565d41ff36768972
The correct checksum line may be:
checksums curl-7.20.0.tar.bz2 \
md5 3dda78c4a808d9a779dc3a2ae81b47d8 \
sha1 89215fc4c4cd1e42134d6117255c401372e628de \
rmd160 9418ab686551af58df84960277868c77836d6817 \
certdata-1.58.txt \
md5 b93bd8dd813e4b0c12ddcc44dbfe1dbf \
sha1 774c0132ac6920a4f37ce670bed4abcb6e21476c \
rmd160 5af26ece6f3e379b247ac8da565d41ff36768972
Error: Target org.macports.checksum returned: Unable to verify file checksums
DEBUG: Backtrace: Unable to verify file checksums
while executing
"$procedure $targetname"
Warning: the following items did not execute (for curl-ca-bundle): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Problem while installing curl-ca-bundle
To report a bug, see <http://guide.macports.org/#project.tickets>
Troubleshoot First Issue
Read up here:
https://trac.macports.org/ticket/23767
so, I inferred that I needed to update my port "tree"… that's what happens with this command…
Ran Port Self-Update
jonamac:~$ sudo port selfupdate
Ran port upgrade for git-core
jonamac:~$ sudo port upgrade git-core +svn +doc +bash_completion
DEBUG: Starting logging for curl-ca-bundle---> Computing dependencies for curl-ca-bundle
DEBUG: Searching for dependency: perl5
DEBUG: Found Dependency: receipt exists for perl5
DEBUG: Executing org.macports.main (curl-ca-bundle)
DEBUG: Skipping completed org.macports.fetch (curl-ca-bundle)
---> Verifying checksum(s) for curl-ca-bundle
DEBUG: checksum phase started at Tue Oct 26 19:27:17 PDT 2010
DEBUG: Executing org.macports.checksum (curl-ca-bundle)
---> Checksumming curl-7.21.2.tar.bz2
Error: Target org.macports.checksum returned: curl-7.21.2.tar.bz2 does not exist in /opt/local/var/macports/distfiles/curl
DEBUG: Backtrace: curl-7.21.2.tar.bz2 does not exist in /opt/local/var/macports/distfiles/curl
while executing
"$procedure $targetname"
Warning: the following items did not execute (for curl-ca-bundle): org.macports.activate org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for curl-ca-bundle is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_curl-ca-bundle/main.log
Error: Problem while installing curl-ca-bundle
To report a bug, see <http://guide.macports.org/#project.tickets>
https://trac.macports.org/ticket/26959
Cleaned port's cache of "curl-ca-bundle"
jonamac:~$ sudo port clean --all curl-ca-bundle
---> Cleaning curl-ca-bundle
Warning: Distfiles directory '/opt/local/var/macports/distfiles/curl' may contain distfiles needed for other ports, use the -f flag to force removal
Again, with force option
jonamac:~$ sudo port clean -f --all curl-ca-bundle
---> Cleaning curl-ca-bundle
jonamac:~$ sudo port upgrade git-core +svn +doc +bash_completion
I then installed rvm (see website for instructions) using the git install method. Then:
gem list --remote --all rails
gem install rails --version "2.3.10" (the latest version of Rails 2)
page revision: 3, last edited: 22 Dec 2010 00:22