Displaying 20 results from an estimated 6000 matches similar to: "Rails Prod Win 0.2"
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through
the hassle of setting up a Rails production environment on Win32
system since we mostly use MS SQL as our database back end and also
because we mostly dealing with customers who become green-blue-purple
as soon as you mention Unix/Linux and run for the door.
I also need to mention that most of our web applications are internal
and
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t
been able to find an answer to. Do I need to have either
scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to
work? If yes, why? I have installed the scgi server and i can get the
service to run, i have also installed the following mod_fastcgi/2.4.2
mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows:
Windows XP SP2
lighty
ruby 1.8.x
rails 1.1
scgi
I have everything working fairly well, but with one minor exception:
the actions that I have defined as follows are not found.
class MytestController < ApplicationController
def index
render_text "Hello Nurse!"
end
def dilbert
render_text "Dilbert
2006 May 15
2
Retrieve the current controller name from a view
Hi all, I wonder if it''s possible to retrieve the current controller
name and possibly the action when you''re in a view.
i.e. I call the same template/partial view from different controllers
and I''d like to know when I''m in the view code which controller is
calling it...
Any ideas? Sorry if it''s obvious but I couldn''t find it in the doc.
2006 May 04
4
Ajax spinners
Hi all, I''ve been looking for these for quite some time now and I
couldn''t find them with a transparent background and a neutral color,
so here they are, just baked from the oven:
The Mac OS X and Mozilla Spinners (Grayscal and Transparent)
Enjoy
Gael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spinner_mac.gif
Type: image/gif
Size: 2530
2006 Mar 31
2
AAARGH! Need some fresh eyes to look at this pls
I just switched my rails app over to production mode, couldn''t get it
working, switched it back to development mode, and now nothing gets
outputted in the browser. I''m sure I''ve missed something in the configs.
Setup: Lighttpd/SCGI on WinXP, Rails 1.0.
Environment.rb:
ENV[''RAILS_ENV''] ||= ''development''
require
2006 Apr 07
2
how much longer Mr Gael?
hi i have probably hit every error possible problem on windows while
trying to setup ruby on Lighty with mysql and ajax support, i''m leaving
mysql see(minor issue with mysql/ruby - major headache) for now and
moving onto AJAX, |webrickwall| not that easy i''ve tried my app on
lighty and i get the following error in the logfile and no ajax response
2006 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All,
I have all of the components that I need to install RoR under FCGI for
Apache 1.3.34. I have:
mod_fcgi 2.4.2
fcgi 2.4.0 (developer''s kit)
ruby-fcgi-0.8.6
I am comfortable up to the point of installing mod_fcgi, however, I
don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi.
How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there
are
2006 Apr 15
8
Instant Rails on Win XP SP2
I am trying to run instant rails on windows xp SP2. I can get the
cookbook and typo sample sites to work with webrick but not with scgi.
When i click the start with scgi i get a blank dos window and typing
www.mycookbook.com returns
Firefox can''t establish a connection to the server at
www.mycookbook.com.
This suggests that apache is not even running even though the green
light is
2010 Dec 18
2
Best way to set up for PHP websites
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am looking to set up a CentOS server for hosting a high traffic PHP
site (specifically Drupal 6).
I am trying to figure out what's the best way of setting up PHP. The
standard mod_php seems to not be a good solution, as it requires apache
to be in the prefork configuration, due to PHP not being thread safe.
Something like mod_fcgi seems to be
2006 Feb 16
9
Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper
Hello Everyone,
Today''s Mongrel is the first release to sport spiffy pre-built win32 gems.
This comes thanks to Wilson Bilkovich donating some Rakefile magic that does
the stuff for me. Everyone who uses win32 should send Wilson a thank-you
since without him you''d be a victim of my laziness for at least a few more
weeks.
People who are testing and trying Mongrel out should
2008 Apr 21
4
prod(0, 1:1000) ; 0 * Inf etc
I think most of us would expect prod(0:1000) to return 0, and ...
... it does.
However, many of us also expect
prod(x1, x2) to be equivalent to
prod(c(x1,x2))
the same as we can expect that for min(), max(), sum() and such
members of the "Summary" group.
Consequently, prod(0, 1:1000) should also return 0,
but as you see, it gives NaN which may be a bit puzzling...
The
2006 Feb 05
2
SCGI
Hi please help,
Id like to get SCGI working with rails. having gone through the
instruction its seems straight forward enough, but for one slight snag.
mod_scgi.so the one I downloaded seems to be for DOS. no problem, I just
download the source and comile it for Solaris, oh oh for some reason it
doesn''t compile. So I decided to search the web for a binarie version
for Solaris 10
2015 Jun 15
0
Add on argument in seq()
Regardless of the value of the other arguments, the first element in
the output of seq() is _always_ `from`.
Hadley
On Mon, Jun 15, 2015 at 9:56 AM, Millot Gael <Gael.Millot at curie.fr> wrote:
> Thanks for your answer.
>
> The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
2006 Apr 08
3
FastCGI issues
I am attempting to get Rails running on Windows with an Apache 2 server.
I seem to be having some trouble, and in spite of my best efforts to
find a solution, I could not.
I believe that I configured Apache correctly. I have included
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env
2015 Jun 15
1
Add on argument in seq()
Millot,
On Mon, Jun 15, 2015 at 9:19 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
> Regardless of the value of the other arguments, the first element in
> the output of seq() is _always_ `from`.
>
Indeed, as Hadley says, the output of seq must always start with* from*. It
is a sequence starting at *from* and ending wherever the other arguments
cause it to end. A sequence
2010 Aug 23
1
Speeding up sum and prod
Looking for more ways to speed up R, I've found that large
improvements are possible in the speed of "sum" and "prod" for long
real vectors.
Here is a little test with R version 2.11.1 on an Intel Linux system
> a <- seq(0,1,length=1000)
> system.time({for (i in 1:1000000) b <- sum(a)})
user system elapsed
4.800 0.010 4.817
> system.time({for (i
2015 Jun 15
2
Add on argument in seq()
Thanks for your answer.
The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
This question seems basic. But is is not in certain situations, like when length.out = unpredictable positive integer.
And I haven't found in ?seq() the particular behavior of this function when length.out = 1.
2006 May 19
4
why no multiple submit?
is it by design? is it standard? how do you give users multiple
actions on a form?
--
Posted via http://www.ruby-forum.com/.
2023 Apr 16
0
sum(), min(), max(), prod() vs. named arguments in ...
On 2023-04-15 6:00 am, r-devel-request at r-project.org wrote:
> Date: Fri, 14 Apr 2023 13:38:00 +0300
> From: Ivan Krylov<krylov.r00t at gmail.com>
> To:r-devel at r-project.org
> Subject: [Rd] sum(), min(), max(), prod() vs. named arguments in ...
Message-ID: <20230414133800.75383dae-6792 at arachnoid>
> Content-Type: text/plain; charset="us-ascii"
>
>