Conversation
|
what version of rails are you using, out of curiosity for this issue: https://github.com/timcharper/spork/issues#issue/60 ? |
|
Rake is needed to run extconf, I think rubygems will complain without it? Does spork install just fine on MRI windows with this patch? |
|
Sorry guys for the delay in getting back to you. We are using Rails 3.0.1, JRuby 1.5.3 and we haven't had an issue like https://github.com/timcharper/spork/issues#issue/60. Spork is running fine for us except when we try to launch a ruby process before Spork finishes spinning up. Ie, at this point spork is not ready and ruby processes hang if started: After waiting longer for the two loading prefork messages, it is fine to launch rubies. Macel:web james$ bundle exec spork Cheers, |
|
To be clearer, perhaps this message could be changed / clearer to avoid people starting rubies too early: Spork is ready and listening on 8989! |
|
Hey guys, I'm just curious to see if this jruby fork is any closer to being pulled into Tim's main spork branch. I'm working on a project with a bunch of developers who prefer windows and could really use it. Anything I can help with? |
|
This should already be fixed in mainline...I...guess it's been so long :) |
|
The lastest commit on rdp's master, "jruby friendlier", was merged in back in September, so I don't know what further would be pending to merge. |
|
actually Tim I don't think the body of my changes were committed as they were superceded by the other fella's branch. But it "should" work in mainline, give it a shot. |
|
With 0.8.4 mainline, I was getting a message saying that jruby was unsupported. Didn't research it more closely than that. |
|
why are you using 0.8.4 ? 0.9.0rc is the rails 3 compatible release. On Tue, May 24, 2011 at 11:57 AM, cayblood <
|
|
OK, thanks for that. I just ran gem install spork and took what it gave me. I'm not using rails 3. Just a ruby project running on 1.9.2. |
|
Ok, there have been many 1.9.2 fixes in the 0.9.0 branch. I don't have the Tim |
Hi Roger,
Thanks for your fork of Spork for JRuby. It's a great help for start up times!
We just installed it and ran into the strange situation where our Rake launching file under RVM (~/.rvm/gems/jruby-1.5.3@project/bin/rake) kept getting overrwritten with a different, non-functional path to JRuby (ie, the #! stopped working). We found the problem was caused by the lines we've removed in the last commit which re-installed Rake during the bundle install. We are using JRuby 1.5.3, RVM 1.0.18, Rails 3, rspec 2.0.1, bundler 1.0.3.
Just to let you know, and hopefully share the change upstream.
Cheers