Questions tagged [rails-spring]

Spring is a Rails application preloader. It speeds up development by keeping your application running in the background so you don't need to boot it every time you run a test, rake task or migration.

Spring is a Rails application preloader. It speeds up development by keeping your application running in the background so you don't need to boot it every time you run a test, rake task or migration.

https://github.com/rails/spring

22 questions
1
vote
1 answer

Rails spring wisper listener method caching

It turns out that Spring caches my wisper listener method (I'm writing quite simple Engine). Example: app/models/myengine/my_class.rb class Myengine::MyClass include Wisper::Publisher def something # some logic publish(:after_something,…
jmarceli
  • 19,102
  • 6
  • 69
  • 67
1
vote
1 answer

Spring can't connect to docker selenium container to run capybara via rspec

It looks like running rspec command via spring is unable to connect to local docker container with selenium running on docker-machine under osx to execute capybara tests. When invoking rspec command not via spring server - everything works fine, I…
sandric
  • 2,310
  • 3
  • 21
  • 26
0
votes
1 answer

I have Bundler 2, yet Ruby/Rails says is missing?

Booting up localhost, I type in 'rails s' into my terminal. I get this error: Traceback (most recent call last): 5: from bin/rails:3:in `
' 4: from bin/rails:3:in `load' 3: from…
raa89
  • 25
  • 8
0
votes
1 answer

Rails Spring configuration similar like in Zeus?

I have something like this in Zeus custom plan, where I run some rake tasks: require 'zeus/rails' class CustomPlan < Zeus::Rails def rots `bundle exec rots 1> log/rots.log &` end def stripe_mock `bundle exec stripe-mock-server 1>…
0
votes
1 answer

Rails 4.2 Ruby 2.2.1 Spring won't start

I just did a fresh install of rails using RailsInstaller Ruby 2.1 And after I did a bundle install and everything succeeded I tried to start up spring and got the following error: …
Eric
  • 3,632
  • 2
  • 33
  • 28
0
votes
1 answer

Rails: How to redefine a Class

I am trying to use Spring in my rails project but I have my own class called Spring that inherits from another class of mine called Feature. In my code I call .superclass on a variable that is set to Spring sometimes. It fails because the variable…
Eric Coulthard
  • 500
  • 6
  • 20
0
votes
2 answers

Installing Ruby on Rails on Mac

To install RoR on my Mac (v10.9.2), I decided to follow the instructions for Ruby 1.9.2 here: https://stackoverflow.com/a/8464619/2278546 "rvm install 1.9.2" was taking too long, so based on suggestions on SO, I used "rvm requirements" to install…
grasswistle
  • 497
  • 3
  • 10
1
2