Created
May 10, 2016 16:20
-
-
Save swanson/7d551c3e479ab46871bac1bf7070048c to your computer and use it in GitHub Desktop.
csv error in ruby 2.3?
This file contains hidden or 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 -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>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Was an issue with the ruby install (via
rbenv
). Uninstall/reinstalling 2.3.1 resolved the issue.