spring
spring copied to clipboard
Rails application preloader
With Spring 1.3.6 When adding /app/services/my_service.rb There was no reload and MyService was not usable. ``` uninitialized constant MyService (NameError) ``` After `spring stop` everything was fine.
I'm not sure if this is an issue with Spring or something else, but one annoyance I'm finding is that when I'm editing `.jsx` files, spring doesn't automatically reload them,...
Today I ran into a problem that I had a LoadError somewhere in my Rails app. When I ran `bin/rails server`, this is what happened: ``` % bin/rails s =>...
I have spring installed and I run bin/rake As a result the tests are run successfully and everything is fine. Imediately after that I start bin/rake again and after one-two...
spring rspec "uninitialized constant StatsD::Instrument::Matchers" when using statsd-instrument gem
I'm using the [statsd-instrument](https://github.com/Shopify/statsd-instrument) gem [rspec matchers](https://github.com/Shopify/statsd-instrument#rspec). ``` bash $ bundle exec rspec # works fine $ spring rspec /Users/rsilva/work/project/spec/spec_helper.rb:149:in `block in ': uninitialized constant StatsD::Instrument::Matchers (NameError) from /Users/rsilva/.rbenv/versions/2.1.6/lib/ruby/gems/2.1.0/gems/rspec-core-3.3.2/lib/rspec/core.rb:97:in `configure'...
On an application that use Spree (for e-commerce), to use the factories, we do in factories.rb : ``` require "spree/testing_support/factories" ``` Factories work with launching Rspec and Cucumber directly but...
_From @thinkerbot on August 12, 2014 18:30_ I observed that `Rails.env` is not set correctly within initializers when using `rails console -e`. For example: ``` $ rails -v Rails 4.1.4...
I strart bin/rspec and the tests are executed correctly. Spring is started. Then I run again bin/rspec and the tests are executed correclty. At a certain point bin/rspec starts returning...
This question is related to [this issue](https://github.com/rwz/ember-cli-rails/issues/203) and [this question](http://stackoverflow.com/questions/32226212/how-to-stop-a-process-when-another-is-stopped). I'm looking for a way to kill Ember, or any process, when spring is stopped. Is it possible. Do you...
I'd like to add things like - `spring log` to tail the logs - `spring kill` to kill all orphaned processes maybe more ... but atm all I can add...