« Previous Next »

Thread: IIS 7 Windows Server 2008 R2 Ruby On Rails

Last post 09-01-2009 11:26 AM by vecchia. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 09-01-2009, 2:42 AM

    • vecchia
    • Top 500 Contributor
    • Joined on 09-01-2009, 2:31 AM
    • Posts 17

    IIS 7 Windows Server 2008 R2 Ruby On Rails

    Hi all,
    i'm sorry for my bad english but i don't speak it very well. I'm using Windows Server 2008 R2 in trial version and i'm configuring IIS 7 + FastCGI + Ruby On Rails but i'm having issues. I tried to search on google and here but all links go on a old site with a removed guide. I've installed ruby and it works with webrick but i need to use IIS. So i put into

    C:\inetpub\wwwroot\ruby-app

    my ruby application and i added the fastcgi module to the website:

    iis manager -> site -> handler mappings -> add module mapping

    • Request path: *
    • Module: FastCgiModule
    • Executable: C:\Ruby\bin\ruby.exe|C:\inetpub\wwwroot\ruby-app\public\dispatch.fcgi production

    all it's ok, i can run the site but when i try to run the ruby application i retrieve this 500 error:

    HTTP Error 500.0 - Internal Server Error

    c:\ruby\bin\ruby.exe - The FastCGI process exited unexpectedly

    Detailed Error Information
    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler RubyOnRails
    Error Code 0x00000001
    Requested URL http://localhost:80/ruby-app
    Physical Path C:\inetpub\wwwroot\ruby-app
    Logon Method Anonymous
    Logon User Anonymous

     please help me

  • 09-01-2009, 3:02 AM In reply to

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

  • 09-01-2009, 3:40 AM In reply to

    • vecchia
    • Top 500 Contributor
    • Joined on 09-01-2009, 2:31 AM
    • Posts 17

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

    thank you but i need to set ruby with fastcgi, not with RoR :(
  • 09-01-2009, 4:20 AM In reply to

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

    Won't you need Ruby to run RoR? I thought that article should help running Ruby too. Sorry about my limited knowledge about Ruby.

    Thanks,Don.

     

  • 09-01-2009, 5:23 AM In reply to

    • vecchia
    • Top 500 Contributor
    • Joined on 09-01-2009, 2:31 AM
    • Posts 17

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

     if it's possible i wan't run RoR... there was a guide about how install and configure iis 7 + fastcgi + ruby but the link is gone :-(

  • 09-01-2009, 7:42 AM In reply to

    • vecchia
    • Top 500 Contributor
    • Joined on 09-01-2009, 2:31 AM
    • Posts 17

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

    i've installed RoR version 1.0.5 but i'm having problems. My application is Redmine 0.8.4, i added the rewrite rules and added correctlty all the params in webconfig:

    but now when i try to see the app i retrieve this error:

    HTTP Error 404.0 - Not Found

    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    Detailed Error Information
    Module IIS Web Core
    Notification MapRequestHandler
    Handler StaticFile
    Error Code 0x80070002
    Requested URL http://localhost:80/redmine/dispatch.fcgi
    Physical Path C:\inetpub\wwwroot\redmine\dispatch.fcgi
    Logon Method Anonymous
    Logon Use
  • 09-01-2009, 11:26 AM In reply to

    • vecchia
    • Top 500 Contributor
    • Joined on 09-01-2009, 2:31 AM
    • Posts 17

    Re: IIS 7 Windows Server 2008 R2 Ruby On Rails

    sorry for triple post but i have a problem: old RoR for IIS site is down, i have the old version 0.1 downloaded from another site but i found another site that distribute a program called RoR for IIS version 1.0.5...

    LINK TO NEW VERSION

Page 1 of 1 (7 items)
Microsoft Communities