View previous topic :: View next topic |
Author |
Message |
EtienneR -
Joined: 29 Jan 2006 Posts: 4
|
Posted: Sun Jan 29, 2006 6:28 pm Post subject: Rails, Ruby and Abyss Web Server |
|
|
Hi,
I am trying to setup Rails environment with an Abyss Web Server by using CGI features. At this time, I cannot go further due to lack of documentations. If anyone succeeded in it, I would be greatly interested in the how-to.
Thanks for all. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Jan 30, 2006 3:00 am Post subject: |
|
|
Quote: | I am trying to setup Rails environment ... |
Can you tell us more about this Rails Environment? |
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Mon Jan 30, 2006 9:12 am Post subject: |
|
|
TRUSTpunk wrote: |
Can you tell us more about this Rails Environment? |
Google could have.
http://www.rubyonrails.org/ _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Jan 30, 2006 3:01 pm Post subject: Re: Rails, Ruby and Abyss Web Server |
|
|
EtienneR,
Ruby on Rails relies extensively on URL rewriting and cannot offer a good performance unless you use FastCGI.
FastCGI will be available in the coming version 2.3 (it is in Beta testing stage now). URL rewriting could be emulated using the idea exposed in http://www.aprelium.com/forum/viewtopic.php?t=7865 . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
EtienneR -
Joined: 29 Jan 2006 Posts: 4
|
Posted: Sat Mar 04, 2006 11:22 am Post subject: Ruby on Rails on Abyss |
|
|
Thanks a lot. |
|
Back to top |
|
|
Yami King -
Joined: 08 Sep 2005 Posts: 120
|
Posted: Sun Mar 26, 2006 6:42 pm Post subject: |
|
|
Did you succeed installing the Rails with the new Abyss?
If yes: how?? |
|
Back to top |
|
|
EtienneR -
Joined: 29 Jan 2006 Posts: 4
|
Posted: Fri Mar 31, 2006 11:56 pm Post subject: |
|
|
In fact, no. But I haven't investigated a lot. As 2.3 version is now released, maybe smart tutorials will appear. And if success, why not purchasing one full licence ? If anyone receives this call... |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Apr 01, 2006 12:48 pm Post subject: |
|
|
Thank you for the tutorial suggestion. We'll be working on one which will be posted here soon. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
EtienneR -
Joined: 29 Jan 2006 Posts: 4
|
Posted: Sat Apr 01, 2006 1:31 pm Post subject: |
|
|
That's great. Let's spread this good news. |
|
Back to top |
|
|
peterpichler -
Joined: 08 Nov 2004 Posts: 1
|
Posted: Fri Jul 28, 2006 4:22 pm Post subject: |
|
|
Hi any news about a Tutorial on Ruby on Rails for Abyss? I found the tutorial for Ruby but nothing about Rails.
Any help would be highly appreciated.
best regards Peter _________________ Peter Pichler |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 29, 2006 2:52 pm Post subject: |
|
|
peterpichler,
The version which will be released soon will feature URL rewriting and will make Ruby on Rails configuration easier and straightforward on Abyss Web Server. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Yami King -
Joined: 08 Sep 2005 Posts: 120
|
Posted: Mon Jul 31, 2006 2:37 pm Post subject: |
|
|
When will this new version be available, well within 2 weeks or 1 month or less/more? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Aug 01, 2006 1:45 pm Post subject: |
|
|
Yami King,
The most likely is 1 month. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
mobrien -
Joined: 05 Oct 2004 Posts: 18
|
Posted: Mon Oct 02, 2006 10:03 pm Post subject: It's been a month :-) |
|
|
Any news on setting up Ruby on Rails?
I would love to see this in action. I am interested in trying out RoR!
--mobrien _________________ ---------------------------------------------------------
http://mobrien118.sytes.net |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Oct 03, 2006 11:18 am Post subject: Re: It's been a month :-) |
|
|
mobrien,
Work on URL rewriting is advancing quickly. We're going to give RoR a try with the new version and we'll post a tutorial about it as soon as it will be released as Beta. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
buttons -
Joined: 25 Apr 2004 Posts: 4 Location: UK
|
Posted: Wed Nov 29, 2006 4:01 pm Post subject: Ruby/Rails/Rewriting/Tutorial |
|
|
Hi, has anyone had success settting up rails with the beta version, would appreciate a list of rules for abyss webserver. Many thanks. _________________ Mark Van Bellen |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Nov 29, 2006 10:48 pm Post subject: |
|
|
Yes. I've successfully got it working. Aprelium will post a installation tutorial
soon to show you how. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Nov 30, 2006 2:26 pm Post subject: Re: Ruby/Rails/Rewriting/Tutorial |
|
|
buttons wrote: | Hi, has anyone had success settting up rails with the beta version, would appreciate a list of rules for abyss webserver. Many thanks. |
We'll post a tutorial very soon (1 or 2 days). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
|
Back to top |
|
|
darkxiiindp -
Joined: 10 Feb 2007 Posts: 3
|
Posted: Sat Feb 10, 2007 6:13 pm Post subject: |
|
|
I can't get it working. Request to http://localhost/rails/info/properties responsed text in dispatch.fcgi
Code: |
#!C:/RUBY/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off). A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
# # Default log path, normal GC behavior.
# RailsFCGIHandler.process!
#
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'
RailsFCGIHandler.process!
|
However, WEBrick run fine. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
darkxiiindp -
Joined: 10 Feb 2007 Posts: 3
|
Posted: Sun Feb 11, 2007 3:47 am Post subject: |
|
|
The instructions on http://www.aprelium.com/abyssws/ror.html are very clear. But I redo it few times and it doesnt work.
The only difference is I don't use http://www.aprelium.com/data/ror.exe. I download ruby, ruby gems binary on ruby-lang.org. And in system environtments I set PATH = C:\ruby\bin, set RUBYOPT = rubygems. Is there any things wrong? I don't like to use one click installer because it come with some things I dont want install. |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sun Feb 11, 2007 4:38 am Post subject: |
|
|
Hello darkxiiindp,
The reason why it is not working is because you need to download the FastCGI for Ruby, otherwise it won't work. That is why Aprelium has created their own Ruby on Rails package. |
|
Back to top |
|
|
darkxiiindp -
Joined: 10 Feb 2007 Posts: 3
|
Posted: Sun Feb 11, 2007 6:41 am Post subject: |
|
|
Thanks. I will try install it. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Feb 11, 2007 11:31 pm Post subject: |
|
|
darkxiiindp wrote: | The instructions on http://www.aprelium.com/abyssws/ror.html are very clear. But I redo it few times and it doesnt work.
The only difference is I don't use http://www.aprelium.com/data/ror.exe. I download ruby, ruby gems binary on ruby-lang.org. And in system environtments I set PATH = C:\ruby\bin, set RUBYOPT = rubygems. Is there any things wrong? I don't like to use one click installer because it come with some things I dont want install. |
The instructions work with our packaged RoR installer only. If you want to setup the components by your own, we'd say "good luck" because it's a time consuming and very risky task. Actually it took us a lot of time (and debugging) to glue everything together and make the RoR package work fine with FastCGI. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
hdl_verde -
Joined: 22 Mar 2007 Posts: 1
|
Posted: Thu Mar 22, 2007 10:24 am Post subject: Redirecting or fcgi, no rewrite |
|
|
Setup my site with radiant.
Have used the tutorial as well the given installation file. Still after setting home to public folder and deleting index.html, i only get listed the public folder. checked with installation of radiant, all ok. Am able to edit admin pages, but not browse created pages. This has happened with several of my rails applications, but still homepage gets not routed at expected.
Could there be something with the redirecting?
My fastcgi crash log shows:
# Logfile created on Wed Mar 21 11:13:22 +0100 2007 by logger.rb/1.5.2.9
[21/Mar/2007:11:13:22 :: 1616] Ignoring unsupported signal USR1.
[21/Mar/2007:11:13:22 :: 1616] Ignoring unsupported signal USR2.
[21/Mar/2007:11:13:22 :: 1616] Ignoring unsupported signal HUP.
[21/Mar/2007:11:13:22 :: 1616] Ignoring unsupported signal SIGTRAP.
[21/Mar/2007:11:13:22 :: 1616] starting
[22/Mar/2007:09:06:54 :: 3648] Ignoring unsupported signal USR1.
[22/Mar/2007:09:06:54 :: 3648] Ignoring unsupported signal USR2.
[22/Mar/2007:09:06:54 :: 3648] Ignoring unsupported signal HUP.
[22/Mar/2007:09:06:54 :: 3648] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:06:54 :: 3648] starting
[22/Mar/2007:09:13:16 :: 3804] Ignoring unsupported signal USR1.
[22/Mar/2007:09:13:16 :: 3804] Ignoring unsupported signal USR2.
[22/Mar/2007:09:13:16 :: 3804] Ignoring unsupported signal HUP.
[22/Mar/2007:09:13:16 :: 3804] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:13:16 :: 3804] starting
[22/Mar/2007:09:22:59 :: 1164] Ignoring unsupported signal USR1.
[22/Mar/2007:09:22:59 :: 1164] Ignoring unsupported signal USR2.
[22/Mar/2007:09:22:59 :: 1164] Ignoring unsupported signal HUP.
[22/Mar/2007:09:22:59 :: 1164] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:22:59 :: 1164] starting
[22/Mar/2007:09:34:29 :: 196] Ignoring unsupported signal USR1.
[22/Mar/2007:09:34:29 :: 196] Ignoring unsupported signal USR2.
[22/Mar/2007:09:34:29 :: 196] Ignoring unsupported signal HUP.
[22/Mar/2007:09:34:29 :: 196] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:34:29 :: 196] starting
[22/Mar/2007:09:41:19 :: 2932] Ignoring unsupported signal USR1.
[22/Mar/2007:09:41:19 :: 2932] Ignoring unsupported signal USR2.
[22/Mar/2007:09:41:19 :: 2932] Ignoring unsupported signal HUP.
[22/Mar/2007:09:41:19 :: 2932] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:41:19 :: 2932] starting
[22/Mar/2007:09:46:16 :: 1980] Ignoring unsupported signal USR1.
[22/Mar/2007:09:46:16 :: 1980] Ignoring unsupported signal USR2.
[22/Mar/2007:09:46:16 :: 1980] Ignoring unsupported signal HUP.
[22/Mar/2007:09:46:16 :: 1980] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:46:16 :: 1980] starting
[22/Mar/2007:09:51:05 :: 2300] Ignoring unsupported signal USR1.
[22/Mar/2007:09:51:05 :: 2300] Ignoring unsupported signal USR2.
[22/Mar/2007:09:51:05 :: 2300] Ignoring unsupported signal HUP.
[22/Mar/2007:09:51:05 :: 2300] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:09:51:05 :: 2300] starting
[22/Mar/2007:10:02:49 :: 2132] Ignoring unsupported signal USR1.
[22/Mar/2007:10:02:49 :: 2132] Ignoring unsupported signal USR2.
[22/Mar/2007:10:02:49 :: 2132] Ignoring unsupported signal HUP.
[22/Mar/2007:10:02:49 :: 2132] Ignoring unsupported signal SIGTRAP.
[22/Mar/2007:10:02:49 :: 2132] starting
any idea? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Mar 24, 2007 2:39 pm Post subject: Re: Redirecting or fcgi, no rewrite |
|
|
hdl_verde,
The fastcgi.log file reports should be ignored if you are on Windows. They simply state that some signals that are only available on Unix systems will be ignored (since you're on Windows).
For the other problem, there are two possible solutions:
* Either edit your current rewrite rule and remove all the conditions expect the first one (REQUEST_FILENAME is not a file).
* Or delete all the rewrite rules and replace them with the following two:
- Rewrite rule 1:
* Virtual Path regular expression: ^/$
* Conditions: none
* If rule matches: perform an internal redirection to:
* Redirect to: /dispatch.fcgi?/
* Next action: stop matching
- Rewrite rule 2:
It should be the same one as described in http://www.aprelium.com/abyssws/ror.html . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|