Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

thin on windows errors on missing gem

#45

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

Reported by Kevin Williams · February 16th, 2008 @ 10:19 AM

State: resolved
Milestone: 0.7.0
Assigned to: Kevin Williams Kevin Williams

Activity

  1. macournoyer
    macournoyer
    • State changed from new to open

    I think adding:

    include Daemonizable unless Thin.win?
    

    in Thin::Server, will fix this

    February 17th, 2008 @ 06:13 PM

  2. macournoyer
    macournoyer
    • 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.

    February 17th, 2008 @ 06:18 PM

  3. Kevin Williams
    Kevin Williams
    • 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.

    February 17th, 2008 @ 06:35 PM

  4. Kevin Williams
    Kevin Williams
    • 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

    February 17th, 2008 @ 07:24 PM

  5. John
    John
    • 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.

    June 24th, 2023 @ 02:24 PM

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.