similar to: map.connect ''/directory_name'', :point_to_directory_name_located_in_public_directory?

Displaying 20 results from an estimated 10000 matches similar to: "map.connect ''/directory_name'', :point_to_directory_name_located_in_public_directory?"

2006 Jul 04
0
transacting with different db tables
Hi I am trying to make head and tail of a critical problem I am facing. I have my railsapp which has its own user table and account management. Along with that, I am installing Opinion forum as a subdomain on the server. As you know, Opinion has its own user table and account management. I want the user to login once and access domains and subdomains without having to login again. >From
2007 Nov 08
0
error on migration
Hi all, I''m just getting started with rspec. I''m using trunk rspec with edge rails. I get an error on migration though, here it is: rake db:migrate RAILS_ENV="test" --trace (in /home/pat/railsapp) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `failure_message'' for class
2007 Jun 22
0
Mongrel_cluster and rails app in a subdirectory
Info: Apache 2.2 mongrel 1.0.1 mongrel_cluster 0.2.1 I''ve had everything working with a bunch of applications like this when the the rails app is the document root, but a client just asked to move the app to a subdirectory, leaving he rest of their site alone. However, I can''t seem to get it to work. Let''s make the assumption that the Apache document root for the
2005 Dec 19
1
Deploying with Sub Directories
Hi, I am following this "tutorial" on dreamhost to deploy with sub directories: 1. Upload your railsapp to ~/railsapp/. ** I have uploaded to /sharemyten.com/list/ (list is my railsapp folder) 2. Make all necessary changes mentioned in the QuickStart Guide above. ** Did this... 3. Create a symlink at the location you want the subdirectory that points to ~/railsapp/public/: $ cd
2006 Aug 09
0
FastCGI - how to relocate dispatch.fcgi outside of rails app
Howdy. Due to a rather unique hosting setup, I need to relocate the dispatch.fcgifile to a directory outside of /path/to/application/public. The setup looks like: /path/to/content/RailsApp/ -- all application files /path/to/fcgi-bin/RailsApp/ -- dispatch.fcgi I''ve modified dispatch.fcgi to find environment.rb; however, all requests for static files (index.html, javascripts, etc) fail
2006 Jan 05
0
I found a way to dynamically switch languages in your railsapp -- look at it and give your opinions
can you share the code so that others can benefit out of it??? silvy mathews ________________________________ From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of sekhar Sent: Thursday, January 05, 2006 7:14 AM To: rails@lists.rubyonrails.org Subject: [Rails] I found a way to dynamically switch languages in your railsapp -- look at it and give
2006 Mar 02
6
Lighttpd and fastcgi problems...
Hi, I''m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = "/tmp/test_lighttpd.pid" server.modules = ( "mod_redirect", "mod_access", "mod_fastcgi", "mod_accesslog", "mod_simple_vhost" ) server.document-root = "/tmp/mis/public"
2007 May 31
0
Slave socket problem again
Hello! I have been using backgroundrb for a small project. My worker task is run every minute, checks the processing queue in data-base and execute the business method from Rails if something is to be done. Unfortunately I was hit by the problem of backgroundrb server dying after some runs. The exception is: 20070531-11:06:05 (31816) Starting worker: s_e_work sql_exe (s_e_work_sql_exe) ()
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra, Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1& MiddleMan2, running in 2 machines. When Chater1 login, RailsApp call MiddleMan1 to get something about Chater1 from db to memory, like his contacts or other personal settings. When Chater2 login, RailsApp call MiddleMan2 do the same thing. But who is reponsible for the Global Data? like a Online Chaters
2005 Mar 08
3
Making a module method available in view
I have a Rails application called RailsApp. In my RailsApp/lib directory, I have a file called localization.rb that defines a module called RailsApp with a Localization class that implements a method l. (RForum devs and fans will recognize this as the YAML-based localization feature in that package.) I want to be able to call this method from my controllers and views. I have added a
2013 Apr 13
3
Cannot reach http://localhost:3000 after starting Ruby on Rails server
I cannot reach http://localhost:3000 after starting Ruby on Rails server when running Windows 8. After running rails server in the directory that I want the server to start, the following prompt shows up: C:\Users\Brian\railsapp>rails server => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown
2006 Jan 12
0
Apache proxy + lighttpd + rails
Hi list, I''m having another problem deploying my Rails application. I set up the servers and apache2 configuration using the excellent essay by Duncan Davidson: http://duncandavidson.com/essay/2006/01/railsonapache However, he describes proxying using a subdomain. What if I want to proxy the requests of www.domain.com/railsapp/<url> to www.domain.com:8888/<url> and reverse
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling through a third party. The communication will be done by xml-rpc. The built in ruby xml-rpc doesnt seem to be compatible with the third party so I have to use a special php-script (provided by the third party) that will handle the interaction with them. Where on the server should/can I put the script? I would prefer
2006 Jul 21
1
Lighttpd for rails app subdomain apache for the rest
I want to host a rails app at mydomain.com/railsapp. For technical reasons I have to leave mydomain.com on apache. This means that I need to tell apache to proxy only requests for mydomain.com/railsapp to lighttpd. I have deployed in a situation like this before around a year and a half ago but it was a real pain. Lighttpd and rails have matured a lot in the year and a half since I did
2006 Apr 26
2
application failed to start for subdomain
I recently setup a subdomain to run my app as a staging site before pushing changes to the main site. So i setup a subdomain in cpanel, symlinked that the directory to point to a staging directory where i check''d out my rails app. However, when i go to staging.railsapp.com, it times out and says application failed to start properly. I''m not sure what is causing this, but
2007 Mar 09
3
Rails log file permissions
When I start a Rails server with $ mongrel_rails start --chdir ~/railsapp --port 3003 --pid \ /home/me/railsapp/tmp/pids/mongrel.pid --daemonize the server starts and opens two log files, development.log and mongrel.log. Both have permissions -rw-rw-rw-. If I omit --deamonize, it opens one log file, development.log, with permissions -rw-r--r--. I would like to make the server use
2008 Dec 16
0
db:create & db:migrate issues
Greetings: I am new to ROR and RadRails. All assistance will always be appreciated. My environment: Windows XP Ruby 1.8.6 Rails 2.2.2 Aptana Studio, build: 1.2.1.020234 RadRails 1.1.0.200812081651NGT I created a new ROR Project. When I attempted to run db:create --trace for the first time I got the following message: in C:/RailsApp/chbdepot) ** Invoke db:create (first_time) ** Invoke
2009 Feb 27
0
Rails 2.2 + Apache 2.2 + RewriteBase /app = broken
I''m trying to run a rails app under an alias like this: Alias /app /var/www/railsapp/public RewriteBase /app ... I am using the same configuration that has worked for the app under Rails 1, but since I upgraded it to the latest version I get: ---- The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. ---- In the
2006 Feb 27
3
Rails via Lighttpd
I am trying to get Rails running through Lighttpd, on a Suse 10 box running Rails 1.0.0 and Lighttpd 1.4.10 I followed the instructions in the wiki (http://wiki.rubyonrails.com/rails/pages/Lighttpd) but keep getting the same error: linux:/etc/lighttpd # lighttpd -f lighttpd.conf 2006-02-27 12:32:17: (mod_fastcgi.c.997) execve failed for:
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts, I have rail site that is running lighttpd and fcgi. I want the default domain to serve the rails application, and I also want to have a virtualhost (bugs.mysite) to resolve to a bugzilla instance. Bugzilla is basically Perl application called through CGI. I tried to find pointers on how to set fcgi to run both rails dispatcher and other cgi scripts in a different virtualhost, and