similar to: switch mod_ruby to fastcgi but still use eruby?

Displaying 20 results from an estimated 1000 matches similar to: "switch mod_ruby to fastcgi but still use eruby?"

2006 Jun 30
2
Eruby.import -> "uninitialized constant" error
I''m working on porting a dynamic website done in PHP over to mod_ruby. I have everything set up and working nicely (I can make a .rhtml page, put ruby code between <% %> and it works etc), but when I try to use "Eruby.import" as a sort of analog to PHP''s "require_once()", I run into trouble. 1) eruby is in my cgi-bin 2) here''s a sample of
2006 Jun 04
4
eRuby & Rails: Not Compatible
I''m new to Ruby, Rails, and this list. I''ve tried searching for an answer but it all seems to be over my head. I have all the books but again they seem to leave me on my own to figure out the stuff that really matters. Where is the best place to find out the details? Exactly what are these much celebrated "naming conventions"; i.e. where do I find an exhaustive
2005 Mar 02
1
gem install rails error
Can someone please give me a hand here? I have just built a brand new RHEL 4 server for my company and I am trying to get rails up and running on it. I have ruby 1.8.2 installed fine. And the gem install process went fine as well. But when I try to do the gem install raisl under the root user this is what I getL: [root@yhrws root]# gem instal rails Config file /root/.gemrc does not exist
2006 Mar 08
2
RailsConf speakers
Does anyone have a clue as to when the railsconf speakers will be announced? Thanks- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
2006 Feb 16
0
Re: Rails Digest, Vol 17, Issue 355
> > Message: 6 > Date: Wed, 15 Feb 2006 15:32:46 -0800 > From: Ezra Zygmuntowicz <ezra@yakima-herald.com> > Subject: [Rails] Rubuntu Live CD for Rails > To: Rails Mailing List <rails@lists.rubyonrails.org> > Message-ID: <EBB25945-FF95-4A90-9574-3AB85835B4B2@yakima-herald.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >
2006 Feb 21
0
acl_system plugin first look
Friends- Here is another plugin hot off the presses of the three day weekend ;) Its a role based authorization system. I have been talking with Bill Katz about this system so it ties in with his recent announcement as well. Its just my implementation. Its an acl/role type system that can sit on top of the acts_as_authenticated login system or any login system that implements a few
2005 Dec 14
14
Install problems: R-o-R on Debian with mod_ruby
Hello, I have tried to setup Ruby-on-rails on my debian Linux machine and can not get it to run. Maybe someone can help. The following was installed already: - apache2 2.0.54 (and PHP5) - Postgresql 8.1 Now, having the ''unstable'' branch in my /etc/apt/sources.list I did: apt-get install libapache2-mod-ruby and Apache reports a "mod_ruby/1.2.4 Ruby/1.8.4"
2007 Sep 28
2
RoR uses something rather than erb or eRuby?
it seems that RoR doesn''t use erb or eRuby to generate its output for rhtml? the program erb and the description of eRuby at http://www.eruby.info both said that <% print "foo bar" %> or <% puts "hello" %> will be placed into the output... but currently for RoR, it won''t... only <%= expr %> is doing it and it cannot be print or
2005 Aug 03
0
Apache::RailsDispatcher for mod_ruby
Hi, I wrote Apache::RailsDispatcher to run Rails applications on mod_ruby. http://blog.shugo.net/articles/2005/08/03/running-rails-on-mod_ruby Apache::RailsDispatcher can run multiple applications in the same process. It works like this: * require loads libraries into the top level, and they are shared with all applications. * require_dependency loads libraries into an anonymous
2008 Sep 04
1
actionmailer sends from commandline but not from web
Hello all, I''m having trouble with this simple email class I made for postbacks. When I run this from the command line an email is sent, however when I access this .rb file through a browser nothing happens. ------------------------- #!/usr/bin/ruby require "rubygems" require "action_mailer" ActionMailer::Base.delivery_method = :smtp
2006 Jun 22
2
eRuby/erb
Hello. Prospective Mongrel user here. Can Mongrel act as a server for eruby or erb files? Example: <html> <body> <p>The time is <%= Time.now %></p> </body> </html> Pistos
2007 Oct 01
1
Getting started on win32 - without Rails.
Hi, I''m trying to get started developing my first ruby-powered web-app. I wont be using Rails for this, at least I don''t see any reason why I should. However, the "getting started" sections in the documentation only shows you how to start a Rails application. My mindset comes from PHP/JSP-type languages where you embed code into HTML. It seems the way to do this with
2006 Jun 07
0
mod_ruby, mod_fcgid performance
anyone ever try to test between mod_ruby and mod_fcgid ? Artit S. -- Posted via http://www.ruby-forum.com/.
2006 Apr 27
6
Why not mod_ruby?
Hi! I''ve understood that the mod_ruby apache module is not recommended for running Ruby on Rails applications. But I haven''t found any information as to why that is so. Please enlighten me. And could you point me to the (currently) prefered production environment. (That can handle both RoR and PHP sites). Thank you and best regards Hans-Eric Gr?nlund -- Posted via
2006 Feb 24
6
[JOB] at yakimaherald.com
Friends- I have taken a new job and will be moving at the end of March. The newspaper I currently work for is looking for someone to take my place. I have really enjoyed working here. It is a great environment with very nice people to work with. And the best part is you get to develop in Ruby and Rails, for everything! The paper is willing to accept applications from people who would
2008 May 02
6
looking for Mod_Ruby and easy Deployment Options? Sign Here
Hi, http://www.ruby-forum.com/topic/151662#669164 Hi, Please read more on the above link first, which is available in this section of Ruby on Rails. It will give you a clear understanding of Deployment scenario The Author of that thread and Me too, are frustrated with Lack of Shared Hosting and Tough Deployment Scenario, since nothing is shaping up. We do not want to get carried away with
2006 Aug 23
12
mod_ruby and rails
Can rails run under apache and mod_ruby? How? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to
2010 Nov 20
0
Enabling preprocessing in Erubis makes views much faster
I wrote a 5 line hack that you can drop into your initializers directory to enable preprocessing in Erubis. This will run code in < %=== %> brackets at compile time making views considerably faster for rails helpers that only need to be evaluated once instead of on each render (the Erubis docs mention 20-40% speed increase but obviously it depends on the amount you precompile). For example:
2006 Jan 03
2
Rails is slow on Apache !!!
Hi , I have rails running on my development machine. I have installed mod_ruby and set up the httpd.conf file to add handlers for .rb files. But the speed I get is still slow compared to webrick which is blazingly fast. I have 2 questions 1. How do I determine if mod_ruby is loaded and is being used to run my ruby scripts ? 2. Which of these fcgi /mod_ruby is faster ? Thanks vivek --------------
2007 Sep 04
11
returning(...) ?
The following construct is an ActiveSupport-ism: returning(Foo.new) do |foo| ... end I don''t especially like it, since it''s both more verbose and less efficient than the direct alternative: foo = Foo.new ... foo It doesn''t occur many times in Merb, so does anyone agree with me that it should be removed? I tried doing this (patch attached) and I find