Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing orderedhash dependency #12

Open
Aldaviva opened this issue Aug 7, 2014 · 6 comments
Open

Missing orderedhash dependency #12

Aldaviva opened this issue Aug 7, 2014 · 6 comments

Comments

@Aldaviva
Copy link

Aldaviva commented Aug 7, 2014

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
Copy link

boutell commented Aug 13, 2014

A workaround is to do:

gem install orderedhash

But yes, this dependency should be specified in the gem.

@Zeikko
Copy link

Zeikko commented Sep 10, 2014

I encountered this same problem. gem install orderedhash fixed it for me.

@raid5
Copy link

raid5 commented Sep 11, 2014

Glad I wasn't the only one. Thanks for the workaround!

@fergiemcdowall
Copy link

Would be great if this could be fixed for us non-rubyists

http://stackoverflow.com/questions/24102991/cvs2json-cannot-load-such-file-orderedhash

@IcanDivideBy0
Copy link

+1

1 similar comment
@bramj
Copy link

bramj commented Aug 26, 2015

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants