Setting built-in web server hangs up Webuilder. Ruby issue

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
green1000
Posts: 7
Joined: Tue Apr 02, 2013 6:16 pm

Setting built-in web server hangs up Webuilder. Ruby issue

Post by green1000 »

I want to set the built-in Web server to preview eRuby pages from Webuilder. But something strange happens - Webuilder just hangs up and only its process termination can save. I'm on Windows XP.

I think the problem is that it has no Erubis support. It says:
5. Enter the path to eruby.exe file (a part of eRuby interpreter)
But I use Erubis. I provide the path to Ruby bin/ directory:
C:\RailsInstaller\Ruby1.9.3\bin
and there are two interpreters in it to run: erb.bat and erubis.bat. None of them is started because I do not see a parsed page when I click "Preview". I tried to provide exactly the path to the file of erubis.bat:
C:\RailsInstaller\Ruby1.9.3\bin\erubis.bat
and when I click "Preview" that hangs up Webuilder.

Is there a way to use Erubis in Webuilder? How?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Setting built-in web server hangs up Webuilder. Ruby iss

Post by Aivars »

Is there any possibility that you could use a version with eruby.exe just for previewing in WeBuilder and Erubis for everything else?
Blumentals Software Programmer
Post Reply