thin on windows errors on missing gem
Reported by Kevin Williams | February 16th, 2008 @ 10:19 AM | in 0.7.0
http://www.ruby-forum.com/topic/...
i installed thin thin 0.6.4 (x86-mswin32-60) and eventmachine 0.8.1
(i386-mswin32)
i went to my script folder under rails and want to start it. but it
fails with this error. not sure what gem i am missing.
E:\TradingTools\script>thin start
e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- daemons
(LoadError)
from e:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/daemonizing.rb:2
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/server.rb:46
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/controllers/controller.rb:28:in `start'
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/runner.rb:143:in `send'
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/runner.rb:143:in `run_command'
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
lib/thin/runner.rb:114:in `run!'
from e:/ruby/lib/ruby/gems/1.8/gems/thin-0.6.4-x86-mswin32-60/
bin/thin:6
from e:/ruby/bin/thin:16:in `load'
from e:/ruby/bin/thin:16
Comments and changes to this ticket
-
macournoyer February 17th, 2008 @ 06:13 PM
- → State changed from new to open
I think adding:
include Daemonizable unless Thin.win?in Thin::Server, will fix this
-
macournoyer February 17th, 2008 @ 06:18 PM
- → State changed from open to resolved
- → Assigned user changed from Kevin Williams to macournoyer
Committed in http://github.com/macournoyer/th...
Let me know if it's rly fixed.
-
Kevin Williams February 17th, 2008 @ 06:35 PM
- → State changed from resolved to open
- → Assigned user changed from macournoyer to Kevin Williams
That won't fix it, as the 'require' happens at load time and will fail if 'daemons' gem isn't loaded.
I've got the code to fix it, but there are 30 or 40 other tests which fail on windows. I'm trying to see if any of them are worth worrying about for 0.7 before I commit and close this one.
-
Kevin Williams February 17th, 2008 @ 07:24 PM
- → State changed from open to resolved
just committed a fix for it, still lots of failing specs but they seem to be windows-specific weirdness
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
