Missing orderedhash dependency
Aldaviva opened this issue · 6 comments
Aldaviva commented
sudo gem install csv2json -v 0.3.0
csv2json input.csv
/usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- orderedhash (LoadError)
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/lib/gems/2.1.0/gems/csv2json-0.3.0/lib/csv2json.rb:4:in `<top (required)>'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /var/lib/gems/2.1.0/gems/csv2json-0.3.0/bin/csv2json:6:in `<top (required)>'
from /usr/local/bin/csv2json:23:in `load'
from /usr/local/bin/csv2json:23:in `<main>'
boutell commented
A workaround is to do:
gem install orderedhash
But yes, this dependency should be specified in the gem.
Zeikko commented
I encountered this same problem. gem install orderedhash fixed it for me.
raid5 commented
Glad I wasn't the only one. Thanks for the workaround!
fergiemcdowall commented
Would be great if this could be fixed for us non-rubyists
http://stackoverflow.com/questions/24102991/cvs2json-cannot-load-such-file-orderedhash
IcanDivideBy0 commented
+1
bramj commented
+1