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

featured detection is busted #103

Closed
ahoward opened this issue Apr 22, 2013 · 3 comments
Closed

featured detection is busted #103

ahoward opened this issue Apr 22, 2013 · 3 comments

Comments

@ahoward
Copy link

ahoward commented Apr 22, 2013

ruby -r listen -e'Listen::Adapters::Windows.at_least_ruby_1_9?' #=>

FATAL -- : can't modify frozen String (RuntimeError)

this is on osx btw...

@ahoward
Copy link
Author

ahoward commented Apr 22, 2013

full trace

F, [2013-04-21T22:35:37.885996 #64812] FATAL -- : can't modify frozen String (RuntimeError)
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/rubygems/version.rb:191:in `strip!'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/rubygems/version.rb:191:in `initialize'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapters/windows.rb:53:in `new'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapters/windows.rb:53:in `at_least_ruby_1_9?'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapters/windows.rb:25:in `usable?'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapter.rb:179:in `usable_and_works?'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapter.rb:49:in `block in select_and_initialize'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapter.rb:47:in `each'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/adapter.rb:47:in `select_and_initialize'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/listener.rb:267:in `initialize_adapter'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/listener.rb:259:in `setup'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen/listener.rb:62:in `start!'
/Users/ahoward/.rbenv/versions/1.9.3-p374/lib/ruby/gems/1.9.1/gems/listen-1.0.0/lib/listen.rb:46:in `to!'


@thibaudgg
Copy link
Member

I think this bug comes from your version of rubygems, because I can't reproduce it. Anyway it should be fixed in release 1.0.1. Thanks for the report!

@ahoward
Copy link
Author

ahoward commented Apr 22, 2013

#rawk. thx.

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

2 participants