Displaying 20 results from an estimated 100000 matches similar to: "production environment without root access"
2008 Sep 24
2
Thinking_sphinx indexing problem on production
Hello,
I have been using Sphinx with Thinking_sphinx plugin which works well on
local development environment, but once I move it to production (shared
host) I get this error and I''m not sure why
linkamed-sE8khXQTlBmcZ8xLbwwaNw@public.gmane.org [~/public_html/linko/current/config]# rake
thinking_sphinx:index RAILS_ENV=production
(in
2008 Mar 13
5
how to install ruby on rail without gem
any one kind enough to tell me how to install ruby on rail without
using Gem.
--
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
2007 Mar 05
1
Mongrel cluster died only in production environment
I''m new to setting up a production server with Rails, so I tried to do
what seems to be the standard setup right now: a couple mongrel servers
behind Apache 2.2. I''ve got a test page that refreshes itself every
couple of seconds, and I''ve noticed that I get a "Proxy Error" when
that''s run for about a minute or so, from what appears to be a mongrel
2008 Oct 31
10
Strange dependency error after going Ruby1.8.6, Rails 2.1.0 -> Ruby1.8.7, Rails 2.1.2
Hi,
I''m getting an error I just can''t find any cause for.
The error is "A copy of ApplicationHelper has been removed from the
module tree but is still active!" and gets thrown
in a Template that uses a method defined in my ApplicationHelper. The
error occurs only in development mode.
The error did not occur before my switch to Ruby 1.8.7 and Rails 2.1.2
minutes ago.
I
2008 May 15
6
mysql errors in production after upgrading to rails 2
I''m trying to upgrade our production server to rails 2. I''ve already
done this on my dev machine (osx) and it worked fine. But now, with
everything at the same version, but running in production mode, the
production machine - a CentOS5 box - is getting loads of:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query
errors.
i"ve looked
2008 Jul 08
5
map.root doesn't do anything, index.html can't be changed
Environment:
Apache/2.2.8 (Ubuntu)
DAV/2
SVN/1.4.6
PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch
mod_ruby/1.2.6
Ruby/1.8.6(2007-09-24)
mod_ssl/2.2.8
OpenSSL/0.9.8g
Phusion_Passenger/2.0.1 Server
I''ve created several scaffolds that all work, and am trying to set the
root page for this app to default to one of the methods. Here''s my
routes.rb:
ActionController::Routing::Routes.draw do
2008 May 02
2
Access denied for user 'root'@'localhost'
I am getting error
Access denied for user ''root''@''localhost'' (using password: NO)
i saw in database.yaml
Install MySQL and put its /bin directory on your path.
how to set it
Attachments:
http://www.ruby-forum.com/attachment/1828/database.yml
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this
2008 Mar 20
2
link_to_remote confirm dialog title
Is there any way to set the confirmation dialog title when using
link_to_remote with the :confirm option?
In Firefox the dialog works fine but the title is:
"The page at http://localhost:3000 says:"
It would be nice if I could set that to something meaningful.
Any information is appreciated,
Rick
--
Posted via http://www.ruby-forum.com/.
2008 Nov 20
5
Couldn't find without an ID
hi friends...
my rhtml is for_for_test.rhtml
<html>
<head>
<title>Form_For Tester</title>
</head>
<body>
<% form_for :blog, :url => { :action => ''save'', :id => @blog } do
|f| %>
Name: <%= f.text_field :blog %>
<%= submit_tag ''Save'' %>
<% end %>
</body>
2009 Mar 31
9
Application without database.yml
Hi,
I have created one application. In that application I am not using any
database.
Whenever I starting rails server it is giving me an error for
configuration of database.yml.
What should I do for this?
Thanks,
Tushar
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2008 Oct 08
9
Plugins and the test environment
Hi guys. I''m writing a plugin for use in the test environment.
However, when I run ``rake test'''' or ``rake spec'''', RAILS_ENV is set
to "development" when my plugin''s init.rb is run.
How do you configure a plugin to load require a file in the test
environment?
Thanks,
Nick
--~--~---------~--~----~------------~-------~--~----~
You
2007 May 08
8
Running my app in "production" under webrick
hi, uncommenting the line ENV[''RAILS_ENV''] ||= ''production'', in
environment.rb makes no difference to my rails app running under
webrick, it still runs in development, and i have restarted the server.
Does this line only apply to Apache? I dont have RAILS_ENV set, why is
it allways running in development?
Thanks
--
Posted via http://www.ruby-forum.com/.
2007 Jul 22
3
Retrieving validation messages without making errors
I would like to inform the users about attribute validation conditions
for form fields using title as in <span title= "cannot be blank" >.
The simplest way would be to use the validation error messages already
defined in the models, but I cannot find any way to retrieve these
messages, when no error has been made. The methods I have tried as
errors.full_messages only returns the
2008 Oct 07
7
Rails production version not accessible from other machines
Hi,
I just deployed my first rails application in production mode using
Capistrano and mongrel clusters. Here are the lines in my
mongrel_cluster.yml file.
cwd: /myrailsdeploymath/current
log_file: log/mongrel.log
port: "8000"
environment: production
address: myserver.mydomain.org
id_file: tmp/pids/mongrel.pid
servers: 3
My development and production machine are the same.
When I run
2008 Jun 03
15
Problem with rails environment with cygwin...mysql doesn't
I have rails 1.2.2, ruby 1.8, mysql 5 and Rad Rails in my win XP and
this
stack works fine.
But I''m trying to use rails 2.1, mongrel, capistrano, git, mysql all in
cygwin and e Text Editor.The only think that doesn''t work is mysql.I
installed this app from the source(in version 5.0.45, ./configure then
make install).All
right, but when I try to launch this error occurs:
2007 Dec 21
3
Access url_for from rake task
How do I access ActionController:Base url_for method from a Rake task.
I tried to access ActionController from irb but it doesn''t work?
Check out the pasite http://pastie.caboo.se/131266
--
Anil
http://anilwadghule.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2007 Jun 28
2
Can't actualize variable session
Hi,
I have a variable session, session[:old_controller] that I m using to
make some fancy effect on my menu.
However since recetly, I have no idea but this variable refuse to be
actualized...
I am doing a <% session[:old_controller]=@controller.controller_name
%> but at the next request, if I check the value of
session[:old_controller] it didn''t change...
I have no idea why,
2008 Oct 10
3
Rails does not see installed gem in production.
Everything works like a charm locally, but running in production
(Dreamhost shared with Passenger if it matters), "These gems that this
application depends on are missing \n -rmagick"
Rmagick is installed on dreamhost, but I have also copied the gem into
the vendor directory, so it''s not even found within it''s local files.
I''m using config.gem
2007 Nov 29
7
Sessions Not Working In Production Mode
I am completely stumped by this problem, and would welcome any
suggestions people could provide.
My application uses active-record-based sessions. In development mode,
the app works fine with sessions, no problems. But in production mode,
the process works for a while (a few hours, maybe more), but at a
certain point the session mechanism stop working.
It looks like the system stops storing new
2007 Aug 23
6
Saving ActiveRecord in PostgreSQL without id
I have a small table that is used to temporarily queue requests, as such
it does not have an id field (or any other primary key), because it
doesn''t make sense to have one.
When I created an ActiveRecord class and tried to save it, I get:
ActiveRecord::StatementInvalid: PGError: ERROR: relation
"temp_requests_id_seq" does not exist
It keeps looking for the id to auto