-
Notifications
You must be signed in to change notification settings - Fork 70
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
Limits of drip - rails console? rake test? #60
Comments
+1 |
Part of the problem with these commands is the fact that Rails is very spawn-heavy. Most rails commands boot Rails to get app information, then relaunch the requested command with different command line arguments. I would imagine this is not working right with drip. Will investigate a bit myself. |
Thanks |
I have created https://github.com/headius/boing as an answer to the Spring preloader. For the Rails commands in question, it avoids launching a subprocess (as Spring does) and starts them directly. It's only an early attempt at building a preload-aware launcher, but it works well for the commands I've tested. |
Hi,
I am able to run my app using drip and works fine (much speedier, thanks). I have the rails startup bit in my dripmain.rb. rails server (3.2.12) works fine too.
But "rails console" just returns to the prompt, no error code nor message. Given its more interactive, I can imagine, things like that are not supported (I am using pry). Although, plain irb works fine - so maybe its a pry related issue.
Also when I run some integration tests, like below - I get the below error about loading the test_helper. Works fine when I disable drip - also works fine under spork, which I'd have thought would be using drip - but maybe it bypasses it somehow.
I am using jruby 1.7.3
Thanks in advance,
Chris
The text was updated successfully, but these errors were encountered: