uninitialized constant File::NOCTTY (NameError) on Windows #77

Closed
maxwellhaydn opened this Issue Apr 17, 2011 · 1 comment

Comments

Projects
None yet
3 participants
@maxwellhaydn

Ruby 1.9 on Windows. When I require 'fakefs' I get:

C:/Ruby192/lib/ruby/gems/1.9.1/gems/fakefs-0.3.1/lib/fakefs/file.rb:26:in `<class:File>': uninitialized constant File::NOCTTY (NameError)
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/fakefs-0.3.1/lib/fakefs/file.rb:4:in `<module:FakeFS>'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/fakefs-0.3.1/lib/fakefs/file.rb:3:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/fakefs-0.3.1/lib/fakefs/safe.rb:9:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from C:/Ruby192/lib/ruby/gems/1.9.1/gems/fakefs-0.3.1/lib/fakefs.rb:1:in `<top (required)>'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from <internal:lib/rubygems/custom_require>:29:in `require'
    from foo.rb:3:in `<main>'
@handerpeder

This comment has been minimized.

Show comment Hide comment
@handerpeder

handerpeder Feb 15, 2012

same here. Does this library not support windows?

same here. Does this library not support windows?

@rue rue closed this in d647c46 Sep 25, 2012

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