#69 ✓resolved
gnufied

With Git version -R is not loading rack file

Reported by gnufied | May 23rd, 2008 @ 05:20 PM | in Future

./app/../lib/msf_service.rb:29:in `load_rack': undefined method `run' for main:Object (NoMethodError)

from ./app/start.rb:3

from /home/hemant/msf_service/thin/lib/thin/controllers/controller.rb:170:in `load'

from /home/hemant/msf_service/thin/lib/thin/controllers/controller.rb:170:in `load_rackup_config'

from /home/hemant/msf_service/thin/lib/thin/controllers/controller.rb:64:in `start'

from /home/hemant/msf_service/thin/lib/thin/runner.rb:166:in `send'

from /home/hemant/msf_service/thin/lib/thin/runner.rb:166:in `run_command'

from /home/hemant/msf_service/thin/lib/thin/runner.rb:136:in `run!'

from ./thin/bin/thin:6

Comments and changes to this ticket

  • macournoyer

    macournoyer June 1st, 2008 @ 10:58 AM

    • State changed from “new” to “invalid”

    I can't reproduce the error w/:

    bin/thin start -R example/myapp.rb
    bin/thin start -R example/config.ru
    

    Seems like the error is in your msf_service.rb, can you provide the code.

    If you want to use the run, use and map macros you have to use the .ru extension.

  • gnufied

    gnufied June 1st, 2008 @ 11:50 AM

    Yeah I know, one of guys on #thin commented on this and problem was indeed because of that guy's commit bit and since then he fixed the error.

  • macournoyer

    macournoyer October 31st, 2013 @ 11:09 AM

    • State changed from “invalid” to “resolved”
    • Tag set to rack

    (from [23bdb76cde68de373e94205fabe6b717c066680d]) (Fixes #69) Remove --ssl-verify and provide peer_cert

    The get_peer_cert method of EM doesn't return anything unless the cert
    has been verified. The --ssl-verify option of thin actually doesn't do
    anything. These two behaviors combined mean that
    env['rack.peer_cert'], which was introduced in thin 1.2.8, always
    returns nil. Since --ssl-verify never actually caused a verification to
    happen, it is better to remove that option until a fully verification
    process is put in place. However, the peer_cert can be made available in
    --ssl mode by always "verifying" the cert, thereby providing the client supplied certificate, if there is one, available in
    env['rack.peer_cert'].
    https://github.com/macournoyer/thin/commit/23bdb76cde68de373e94205f...

  • macournoyer

    macournoyer October 31st, 2013 @ 11:09 AM

    (from [f56cec352dbafa872abacf74f09911e96af4d7e1]) Merge pull request #203 from zaphod42/issue/69/ssl-verify-non-functional

    (Fixes #69) Remove --ssl-verify and provide peer_cert https://github.com/macournoyer/thin/commit/f56cec352dbafa872abacf74...

  • Adriana

    Adriana June 22nd, 2026 @ 09:25 AM

    A magazine is a format that helps to present information in a beautiful, structured, and visually appealing way. If you need material that looks presentable and makes a good impression, printing magazines at PMG is a great option https://pmg.ae/products/magazine-printing Printing magazines at PMG is suitable for those who want to create high-quality and well-designed printed materials for their business, events, or information projects. A magazine allows you to provide detailed information about your company, products, or services while maintaining a stylish and easy-to-read format. This format is particularly useful when you want to combine content and visual appeal. It helps to make a brand more visible and professional.

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Tags

Pages