Skip to content

Instantly share code, notes, and snippets.

@swanson
Created May 10, 2016 16:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save swanson/7d551c3e479ab46871bac1bf7070048c to your computer and use it in GitHub Desktop.
csv error in ruby 2.3?
> ruby -v
ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-darwin13]
> irb
irb(main):001:0> require 'csv'; CSV
=> CSV
> ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin13]
> irb
irb(main):001:0> require 'csv'; CSV
NameError: uninitialized constant CSV
from (irb):1
from /Users/matt/.rbenv/versions/2.3.1/bin/irb:11:in `<main>'
@swanson
Copy link
Author

swanson commented May 10, 2016

Was an issue with the ruby install (via rbenv). Uninstall/reinstalling 2.3.1 resolved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment