spring
spring copied to clipboard
Rails application preloader
I want to be able to configure spring's file watcher to watch additional files when booting my app. Specifically, I want to update Rails to watch the `config/initializers` directory of...
After running ` RUBYOPT='--enable-frozen-string-literal --debug-frozen-string-literal' bin/rails c` ( Following this [guide](https://gist.github.com/fxn/bf4eed2505c76f4fca03ab48c43adc72) ) I had this issue: ``` /Users/chedli/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/spring-4.2.1/lib/spring/json.rb:367:in `unquote': can't modify frozen String: "", created at /Users/chedli/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/spring-4.2.1/lib/spring/json.rb:367 ``` I went...
Documented here: https://guides.rubygems.org/specification-reference/#metadata Useful for running https://github.com/MaximeD/gem_updater
During the initialization of a Rails app, some files are required and added to `$LOADED_FEATURES` so, when they are changed, the whole app reloads. I want to avoid that and...
I had an error running on our local build and it would give the error when running the rails console ```ruby /Users/jim.bob/.rbenv/versions/3.0.3/lib/ruby/gems/3.0.0/gems/spring-4.1.3/lib/spring/watcher/abstract.rb:42:in `initialize': no implicit conversion of nil into String...
When running `rails console` get this error... but it works without spring running: ``` /.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/reline/line_editor.rb:734:in `render_each_dialog': undefined method `hide_cursor' for Reline::GeneralIO:Class (NoMethodError) Reline::IOGate.hide_cursor ^^^^^^^^^^^^ from /Users/willian/.asdf/installs/ruby/3.1.2/lib/ruby/3.1.0/reline/line_editor.rb:651:in `block in render_dialog' from...
Before this change, if Errno::EINVAL is thrown when sending IO to the child the server would crash. Now we catch the exception and, assuming the child has problems, we start...
Ran into some issues when running test locally, hopefully this helps the next contributor.
So I have had this issue for a long time now. I am not versed in spring's internals, so I don't really know what is happening. The issue is as...
Fixes #724 This fixes an issue where, when the Spring client times out or otherwise disconnects from the server, that the server crashes with a `Broken pipe (Errno::EPIPE)` error. My...