This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby only: | |
## Hash file contents | |
puts "Hashing file..." | |
file = Dir::pwd + "/books/\"#{item}\"" | |
hash = Digest::MD5.file(file) | |
Ruby and Java: | |
(Ruby [lib/file_ops.rb]) | |
## Hash file contents | |
puts "Hashing file..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ignoring binding_of_caller-0.7.2 because its extensions are not built. Try: gem pristine binding_of_caller --version 0.7.2 | |
Ignoring byebug-8.2.2 because its extensions are not built. Try: gem pristine byebug --version 8.2.2 | |
Ignoring curb-0.9.1 because its extensions are not built. Try: gem pristine curb --version 0.9.1 | |
Ignoring debug_inspector-0.0.2 because its extensions are not built. Try: gem pristine debug_inspector --version 0.0.2 | |
Ignoring executable-hooks-1.3.2 because its extensions are not built. Try: gem pristine executable-hooks --version 1.3.2 | |
Ignoring gem-wrappers-1.2.7 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.2.7 | |
Ignoring nokogiri-1.6.7.2 because its extensions are not built. Try: gem pristine nokogiri --version 1.6.7.2 | |
Ignoring sqlite3-1.3.11 because its extensions are not built. Try: gem pristine sqlite3 --version 1.3.11 | |
jayc0b0@wintermute:~ |