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

filewatch/helper File#atomic_write requires update #67

Open
MichaelSp opened this issue Nov 25, 2015 · 1 comment · May be fixed by #68
Open

filewatch/helper File#atomic_write requires update #67

MichaelSp opened this issue Nov 25, 2015 · 1 comment · May be fixed by #68

Comments

@MichaelSp
Copy link

Minitest::UnexpectedError: ArgumentError: wrong number of arguments (2 for 1)
    /home/michael/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/filewatch-0.6.4/lib/filewatch/helper.rb:19:in `atomic_write'
    /home/michael/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/file_store.rb:83:in `write_entry'

Current version of active_support (4.2.4) uses 2 arguments.
Result is that filewatch is incompatible with active_support 4.2.4

@MichaelSp MichaelSp linked a pull request Nov 25, 2015 that will close this issue
@guyboertje
Copy link
Contributor

I will rename ours to write_atomically in the next release.

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

Successfully merging a pull request may close this issue.

2 participants