Displaying 20 results from an estimated 6000 matches similar to: "rails 3 script/server problem"
2006 Apr 07
6
Multiple view types for a single action?
Is it possible to have more than one kind of view for a specific action,
for example an .rhtml and a .rjs file to handle the view for the same
action?
I suspect not, but this makes me wonder if there a way to call the .rjs
file from within the .rhtml so the statements within it get executed?
Thanks,
Andy
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2006 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each
one running Mongrel. After reading all of the documentation, it''s fairly
clear how to use subdomains - create several Apache virtual hosts, each of
which has a different ProxyPass and ProxyPassReverse command to redirect
from different ports (ie, 3000, 3100), and then have each Mongrel instance
(or
2006 Apr 05
13
Apache Deployment Woes
Hi Everybody,
I''m down to my last straw. I''ve been trying to deploy my latest rails
project on Apache for about two weeks with limited success. I have a
lot of info, but still no clue what is causing my problem. I decided to
turn to the community for some help...
Basically, my site works fine with Apache and FastCGI most of the time,
but sometimes I get the "Rails
2018 Jan 30
2
Cannot add metadata to network XML
Hi, i tried adding metadata to Network XML ( NOT DOMAIN XML) but it removes
it as soon as i save
here's my network XML
<network>
<name>bridgeTest0</name>
<uuid>cf2aae7a-b459-459b-ba2c-399190607629</uuid>
<metadata>
<app1:foo xmlns:app1="http://app1.org/app1/">
<app1:test>testing!</app1:test>
2006 Dec 21
4
my apache 2.2 conf
I just finished updating our internal site, which hosts multiple Rails
apps, to Apache 2.2.3. It also has a TWiki rewritten into the root,
ViewVC mounted on /cvs, and /server-status and /server-info.
<VirtualHost *:80>
ServerName int.example.com
ServerAlias int
CustomLog /var/www/logs/int.example.com/access.log combined
ErrorLog /var/www/logs/int.example.com/error.log
[...]
2012 Sep 26
6
Puppet 2.7, hiera 1.0 and hiera as an ENC
This is the situation I have:
All my hosts are the* same OS.*
All my host are in the* same puppet environment,* so I cannot use
%{environment}
I have a module that sets all the *basic* functionality for the OS,
resolution, authentication, security, packages, etc
I have a module for each application hosted.
At the moment all the ''data'' is in Puppet, mostly in parametrised
2006 Nov 04
2
[ Rails ] Multiple rails apps on 1 host
Team,
I''m trying to figure out how to run 2 rails apps on one host.
I ran an experiment:
cd /tmp/
rails app1
rails app2
cd app1
script/server
rails put a copy of lighttpd.conf in
/tmp/app1/config/
and then started lighttpd
http://localhost:3000
gave me the splash page.
I shutdown the server
I added something to
/tmp/app1/config/lighttpd.conf
server.modules = (
2013 Mar 08
5
hiera / create_resources / define
I''m trying to use create_resources to create a series of files with
semi-custom content based on a template.
This is what I have:
foo.conf.erb:
Name "<%= name %>"
WorkingDir "<%= working_dir %>"
... a bunch of static entries
YAML:
configs:
config1:
Name: app1
WorkingDir: /var/app1
config2:
Name: app2
WorkingDir: /var/app2
2006 Mar 02
2
SwitchTower: why symlink releases/under -> current?
Hi,
I have a trouble with deploying my ordinary rails application(myapp).
When I execute ''rake deploy'',
[...]
command finished
* executing task symlink
* executing "ls -x1 /var/www/myapp/releases"
servers: ["app1.olalog.com"]
[app1.olalog.com] executing command
command finished
* executing "ln -nfs /var/www/myapp/releases/under
2007 Jan 26
4
Polycom Provistioning Issue
From what I know this log show everything working Perfect.
Then it goes to the Welcome screen then after a long time of processing,
it errors out with a 0x10000 error
Any Ideas?
1005195711|so |4|00|---------- Initial log entry ----------
1005195711|so |4|00|+++ Note that bootrom log times are in GMT +++
1005195711|hw |4|00|Initial log entry.
1005195711|wdog |4|00|Initial log entry
2006 Apr 08
5
What is the h for?
In the "Agile Web Development with Rails" book it runs through making an
example application, a shopping cart.
In one of the views files, there is one line of code I dont understand
(below), I dont know what the "h" is for, also I took the h out, and it
did not affect the application (as far as i could see).
<%= h(product.title) %>
Can anyone shed some light on this
2010 Feb 26
2
Fwd: how to install rmagick on fedora please help urgent
hi all
i want to run project at local system ..see this i m getting some error
http://pastie.org/843746 and when i run server http://pastie.org/843748 plz
tell me how to install rmagick on fedora
Regards,
Shyam
+91-9716-18-9650
--
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
2007 Mar 21
6
Converting Rails app to desktop with XUL?
Hi,
We are thinking about choosing Rails as our weapon of choice for our
next project, which is basically a text editor on steroids, whith some
functionality that need an Internet connection.
In the first step we are going to develop it as a plain web app
(AJAX-ified, yay!), however, in the next step we would like to port some
of the functionality (such as the editor) to a desktop app (which can
2007 Jan 30
3
Update for thread: Multiple rails apps with Mongrel
Hi,
I found another way to throw multiple rails apps under a single
domain like:
http://www.domain.com/app1
http://www.domain.com/app2
changes here...
http://tonyrose023.blogspot.com/2007/01/multiple-rails-apps-with-
mongrel.html
Tony
2006 May 05
2
how to get image properties
Hi friends
in PHP there is a direct function GetImageSize(), with it I can easily
determine the dimentions of an image file.
How can I do in RoR.
Please help me out
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060505/13ba1640/attachment.html
2009 Dec 07
3
captcha
Hi all,
I want to implement a captcha on my register page to help weed out any
''non-human'' visitors.
I was told to check out http://expressica.com/simple_captcha/ but the
site isnt responding.
Does anyone have any other reccomendations that are tried and tested &
successful?
Many Thanks
--
You received this message because you are subscribed to the Google Groups
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2006 Jul 24
2
Flash problem with RoR? missed something?
I have tried to put a flash movie inside of my RoR page and it shows up
with nothing on IEPC.
It does very well on every other type of browser but does not work with
IEPC.
I made a folder - "flash" in my public directory and have had the one
instance of it point there.
Thus my flash directory is www.rails-app.com/flash/flash.swf
Is there anything that anyone knows to help out?
2006 May 19
5
How to determine if an object has just been created
Is there a built-in way to determine if a model object has just been
created (ie. this object was the one that was originally persisted)? I
can''t see it anywhere in the AR code, but thought I''d check. I want
something like:
p = Person.create
p.original_instance? # true
Is this built-in or should I just patch AR?
-Jonathan.