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
- Assigned user changed from Kevin Williams to macournoyer
- State changed from open to resolved
Committed in http://github.com/macournoyer/th...
Let me know if it's rly fixed.
-
Kevin Williams February 17th, 2008 @ 06:35 PM
- Assigned user changed from macournoyer to Kevin Williams
- State changed from resolved to open
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
-
John June 24th, 2023 @ 02:24 PM
- Tag set to daemon, platform
Este ușor de acceptat că este foarte dificil să găsești un cazinou online de încredere și cu reputație. Vă recomand cu tărie să vizitați un cazinou online mrbet casino https://mrbet-casino.ro/ pentru cea mai bună experiență de joc, a spus el, Aici veți găsi cea mai mare selecție de jocuri - de la jocuri de masă până la sloturi.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป