Displaying 20 results from an estimated 2000 matches similar to: "Multiple rails apps to appear as one app"
2005 Dec 04
3
Relative URL
I''m trying to use a non default webserver with Rails and succesfully
does this by calling the disptacher directly, by setting the environment
variables: REQUEST_URI and SCRIPT_NAME
My problem is that the relative path is incorrect when I identify myself
as anything else than apache. In request.rb the @@relative_url_root is
only set when the webserver is apache. Is this default wanted
2001 Jun 29
3
Fail to build R (PR#1005)
Full_Name: Ziying Sherwin
Version: 1.3.0
OS: Solaris 2.8
Submission from: (NULL) (130.14.31.32)
We tried to install R on our Sun Solaris 2.8 machine using gcc 3.0. During the
compilation,
we got error messages like:
gcc -I. -I../../../src/include -I../../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c sockconn.c -o sockconn.o
gcc -shared -o internet.so Rsock.o internet.o
2012 May 14
2
How to interpret an ANOVA result?
Hello all,
here's a real-world example: I'm measuring a quantity (d) at five
sites (site1 thru site5) on a silicon wafer. There is a clear
site-dependence of the measured value. To find out if this is a
measurement artifact I measured the wafer four times: twice in the
normal position (posN), and twice rotated by 180 degrees (posR). My
data looks like this (full, self-contained code at
2006 Sep 26
1
How to "Pack" a matrix
Hello,
Suppose I have a matrix a where
a= sp1 sp2 sp3 sp4 sp5 sp6
site1 1 0 1 1 0 1
site2 1 0 1 1 0 1
site3 1 1 1 1 1 1
site4 0 1 1 1 0 1
site5 0 0 1 0 0 1
site6 0 0 1 0 1 0
And I want to pack that matrix so that the upper left corner contains
most of the ones and the bottom right corner contains most of the zeros
so that matrix b is
b= sp3 sp6 sp4 sp1 sp2 sp5
site1 1 1 1 1 0 0
site2
2006 Aug 29
1
Bootstraping for groups and subgroups and joing with other table
Dear R-experts,
I have a table with following collumns: State, SamplePlot, Species and BodySize. I sampled bird species at 34 SamplePlots and 5 States (regions) monthly during two years. On each bird record I measured bodysize and identified the species. So I have many records of each species (about 150 species) at each SamplePlot and each Region (State).
Now I would like bootstrap
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy"
from my local box (windows) to my shared hosting
If I set the repository to (deploy.rb):
set :repository, "file:///home/[my_user]/repo/[my_app]/trunk"
My local box (windows) can''t reach the subversion repository located in
site5
If I set the repository to:
set :repository,
2006 Apr 29
2
iCal / Authentication / Site5 ?
So, I''m working on adding iCal support to my app. Since I want to restrict
users to their own calendars, form-based authentication isn''t going to work,
so I''m using the Basic HTTP Authorization from this page -
http://blogs.23.nu/c0re/stories/7409/
Everything works fine in my dev machine, but on the server (Site5), I get
the login prompt ad infinitum.
Has anyone run
2005 Dec 28
5
Shared Hosting Rails Sites ?
I can''t decide between a2hosting.com, successfulhosting.com, site5.com (which offers 11gb
of disk space for $8.77/month -- I''ll never use it), planetargon.com (which offers 1 gb
for $11/month), or railsplayground.com (which offers a gigabyte practically for free).
Any experiences you''d like to share?
Only a2 and planetargon list their gems on their web sites.
All of
2006 Jan 13
2
Multiple Rails Apps in 1 Virtual Host on Apache 1.3
After attempting this on my own using the Apache "Alias" directive I
noticed that it did not work in all cases:
http://myserver/app1/ (this worked)
http://myserver/app1 (this failed, I won''t bore you with the rewrite
logs of why)
This led me to the following article
http://wiki.rubyonrails.com/rails/pages/HowtoDeployMoreThanOneRailsAppOnOneMachine
Which I followed.
Must to
2009 Feb 03
1
overlaying plots from a list of data frames
Hello R list,
I have a list of data frames, in the form (dump output for an example
list follows message):
$site1
year data
1 2000 0.03685042
2 2001 0.02583885
6 2005 0.02480015
7 2006 0.03458745
$site2
year data
1 2002 4.071134e-03
2 2003 -4.513524e-08
3 2004 8.336272e-08
4 2005 2.270803e-08
5 2006 1.263597e-02
6 2007 NaN
I would like to plot each
2006 Jun 07
1
Site5 Hosting: Defautl Root Directory for site
Just signed up for hosting with Site5. So far the service has been
great, but one question I had couldn''t be answered by the tech support.
I need to change the default root directory of my site from public_html
to a rails directory (i.e. foo/app/public). The tech support suggested
mod_rewrite. Any other suggestions on ways to accomplish this?
Thanks,
Nathan
-------------- next
2006 Jan 08
1
Install to Site5
is there any way to install a RoR application to Site5 (or any other
host for that matter) that doesn''t require shell access. It would be
nice, for simplicity sake, to be able to upload an application edit a
.htaccess (or something) and have the application just run.
[ it doesn''t really matter if there is no way to do this. its just
that I''m trying to test my apps on a
2006 Oct 13
3
multiply two matrixes with the different dimension column by column
Dear all,
I would like to multiply two matrixes with the different dimension column
by column. Let make an example:
If I have two matrixes "X" and "Y"as follow:
X<- matrix(1:12, nrow=4, ncol=3, dimnames=list(c("A","B","C","D"),
c("stage1","stage2","stage3")))
Y<- matrix(1:28, nrow=4, ncol=7,
2011 Aug 29
1
reading tables from multiple HTML pages
Hi, beginner to R and was having some problems scraping data from tables in
html using the XML package. I have included some code below.
I am trying to loop through a series of html pages, each of which contains a
single table from which I want to scrape data. However, some of the pages
are blank - and so it throws me an error message when it gets to
htmlParse(). The loop then closes out and I
2006 Jun 13
7
help with ''error_messages_for''
Greetings,
I''m in the throws of deploying an app on site5, and I''m getting strange
errors. I think I might need to understand how error_messages_for
works.
I get a pretty standard looking error:
"
You have a nil object when you didn''t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occured while evaluating nil.errors
Extracted
2007 Jul 07
2
random sampling with some limitive conditions?
I want to gain thousands of random sampling data by randomizing the
presence-absence data. Meantime, one important limition is that the row and
column sums must be fixed. For example, the data "tst" is following:
site1 site2 site3 site4 site5 site6 site7 site8 1 0 0 0 1 1 0 0 0 1 1 1 0
1 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 0 1 0 1 1 1 1 1 1 0 0
0 0 0 0 0 0 0 0 1 0 1 0
2018 Apr 18
3
How to replace numeric value in the column contains Text (Factor)?
Hi R user,
Would you mind to help me on how I can change a value in a specific column
and row in a big table? but the column of the table is a factor (not
numeric).
Here is an example. I want to change dat[4:5,3]<-"20" but it generated NA>
do you have any suggestions for me?
dat<-structure(list(Sites = structure(1:5, .Label = c("Site1", "Site2",
2006 Feb 23
5
Running apps in subdirectories using lighty/scgi
Hi,
So thanks to Zed I was able to get lighty/scgi and a Rails app running.
I know this might not be the best place to post this, but I guessed
there may be several others with similar experiences here.
So, the following step is to have several apps each in its on
subdirectory. I tried the following to no avail:
$HTTP["url"] =~ "^/tango/" {
server.document-root =
2006 Jul 01
1
exception_notification only happening one sub domain
folks.
I have dev.domain.org and qa.domain.org. I have two copies of same
rails application on the two diff subdomains.
When an error happens only dev.* exception_notification sends email.
For qa.* I get the RuntimeError. Not the 500.html file.
Donnow what''s happening. I am on Site5, FastCGI, Apache 1.33
Thx
ajay
--
Posted via http://www.ruby-forum.com/.
2006 May 09
2
Hosting Question Redux
Well,
In my first email I asked if anyone knew how to set up a rails site for site5. I had one reply that sent me to rubyhosting.org, where it states: tutorial coming. Does anyone actually know how to host a rails site?
Thanks
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at