Ruby、ODBC:ruby-odbc 上的 MD5 校验和
我正在按照此处的说明进行操作,到目前为止一切顺利,但我在弄清楚这部分时遇到了困难:
最后,下载您的目标版本 从 ruby odbc 项目页面并执行 MD5 校验和。
我到底应该在什么上运行 MD5?焦油文件? extconf.rb?我已经探索了一段时间,但我只是不知道如何找到答案。提前致谢。
I'm following the instructions here, and so far so good, but I'm having trouble figuring out this part:
Lastly, download your target version
from the ruby odbc project page and do
a MD5 checksum on it.
What exactly am I supposed to be running MD5 on? The tar file? extconf.rb? I've been poking around for awhile but I just don't know enough to find the answer. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来您的指令来自这里: http://www.metaskills.net/2009/9/5/the-ultimate-os-x -snow-leopard-stack-for-rails-development-x86_64-macports-ruby-1-8-1-9-sql-server-more
他们给出了 36d215...b99 的 md5sum 示例并说出来适用于 0.9997 版本。查看可用版本 ruby-odbc-0.9997.tar.gz 与 md5sum 匹配。从命令行:
看起来 tar.gz 就是您正在寻找的内容。
It looks like your instructions came from here: http://www.metaskills.net/2009/9/5/the-ultimate-os-x-snow-leopard-stack-for-rails-development-x86_64-macports-ruby-1-8-1-9-sql-server-more
They give an example md5sum of 36d215...b99 and say it was for the 0.9997 release. Looking at the available releases ruby-odbc-0.9997.tar.gz matches that md5sum. From the command-line:
It looks like the tar.gz is what you're looking for.
如果您从这些说明开始,可能会获得比随机第三方更好的结果。
他们告诉你运行的 MD5 校验和没有任何功能作用——它只是检查你下载的文件是否与制作者上传的文件匹配,添加一层特洛伊木马保护,并可能防止解压/提取失败时出现的麻烦。如果您信任源代码,或者您只是不知道如何运行它,则可以在没有校验和的情况下继续。
让我们(OpenLink Software,Ruby on Rails ODBC 适配器的生产者)知道您是否遇到以下问题:在那里——我们想要修复损坏的东西......
You may get better results if you start from these instructions, than from a random third-party.
The MD5 checksum they tell you to run has no functional effect -- it's just to check whether the file you downloaded matches the file the producer uploaded, adding a layer of Trojan protection, and potentially preventing headaches if decompression/extraction fails. You can proceed without the checksum if you trust the source, or if you just can't figure out how to run it.
Let us (OpenLink Software, producer of the ODBC Adapter for Ruby on Rails) know if you run into issues from there -- we want to fix things that are broken....