similar to: A few problems after installation

Displaying 20 results from an estimated 10000 matches similar to: "A few problems after installation"

2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything seems to work except for deployment. i go through the entire process of setting up a new rails app on a cpanel account and i get: Not Found The requested URL /testapp/index.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
2006 Apr 20
1
fit testing, FitNesse
Hello, this is a typical "how do you do it in Rails" question :) I would like to incorporate fit testing into a RoR app and I''d like to hear your recommendations on how to do it. In the ideal world I would like all the table test definitions and implementations stored in svn together with the app, ability to run the tests with a rake task + a hook to FitNesse, so that
2012 Dec 12
2
How to get ruby running on a webserver
Hi, I have purchased a VPS that has WHM cpanel. I have logged into the root of my system using putty and installed ruby 1.9.3 via rvm and rails 3.2.9. I have created a website in cpanel that has created a public_html directory that is live and working on the web. I then created a simple ruby website called blog in the public_html directory. My question is how do I get the ruby application to run
2006 Mar 25
1
confused on RoR deployment
sorry if this seems to be a dumb question. i just started trying to learn RoR this week. basically i got everything running great locally on my mac. i have a dedicated server that i''d like to start using ruby on rails for but i''m a little nervous about installing it. the main thing is deplyment in apache. i have apache turned on locally, but i think it''s still using
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting: The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/ In the /public folder of my app I have the following .htaccess file: # General Apache options
2006 Mar 18
9
How do I write this SQL the Rails way?
I''m trying to find all the unique bill_number, status records in Bills table. I can do it with a find_by_sql statement like this: @records = Bill.find_by_sql( "select distinct bill_number, status from bills group by bill_number, status;") How would I rewrite it using ''find :all
2006 Mar 10
3
External controller code
Hey, we like to realize a RoR project with a huge amount of controller code. What is the best way to handle that. Is there a similar mechanism for helper as for views or a way to include/load external code? Otmar Tschendel -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/789a3fad/attachment.html
2006 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have an :expects parameter for a webservice that is an array of objects? I want to have a single webservice that expects all my line items (for an order). Is this something that is possible? -- Posted via http://www.ruby-forum.com/.
2006 Feb 23
1
HABTM testing - fixtures not loading?
Hi, I have a strange problem with testing classes which have a HABTM relation. It seems that while running my tests with rake the fixture for the association table is not loaded - as a result I get a failure on a test which simply checks the number of associated elements - it says it''s 0 although there should be one. The weird thing is that when I run the tests with rcov
2006 Mar 18
4
new user.presentation
Hi, I''m creating an RoR application right now and i''ve got the following question: An user has one presentation. So i''ve got an user table and in that table is an field fkPresentationID. Now i want to create an new user and at the same moment an new presentation for that user. I thought it would work with something like this, but it didn''t work. @user =
2006 Mar 31
2
Backslash Escaping in View
Ok, I''m hoping this won''t be a forehead slapper, but take a look at this code: physician.name.sub(/''/, "\\''") I''m trying to substitute a single quote with a backslash and a single quote. This seems pretty simple right? Well, someone kick me and tell me why it''s not :) Here''s what I''m getting if the
2006 Mar 24
2
Return all rows, split then show uniques
I''m returning some rows from a tags database that look like this: ID WORDS 1. apple banana pear 2. banana melon 3. apple peach lime What I want to do with that data is use the .split method to divide them into separate values in an array, then use the .uniq method to return a unique list of the words like so: apple, banana, pear, melon, peach, lime So in my controller I
2006 Mar 22
9
render partial from withit mail template
Hi, I''m trying to include a partial in an email template but it throws me this: undefined method `controller_path'' for SupportMailer:Class Extracted source (around line #12): 11: 12: <%= render :partial => ''footer'' %> I guess email views are a little different from normal ones as they don''t seem to have a access to a proper controller (?)
2010 Dec 01
6
Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError
I just installed my RoR application on my ISP''s server. This is a Cpanel environment and it creates a .htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^xyz.com$ [OR] RewriteCond %{HTTP_HOST} ^www.xyz.com$ RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12001\/$1" [P,L] in a public_html directory. (I changed my domain name in the text above to xyz because we are
2005 Dec 01
2
View helpers and nested attributes
Hello all, I have a model with two entities (document and asset) and a 1:1 relationship defined between them (every model has an asset). I want to generate a rthml view that generates a hash for document attributes and a nested hash for asset attributes (for example {:document =>{:name=>XXX :asset => {date =>XXX}}) According to the Pragmatic Programmers book (page 355), the input
2006 Jul 24
3
Confused on URLs to my Rails App
I need a VERY SIMPLE solution to get to my rails app. We have a WHM/Cpanel linux server with numerous virtual servers on it. I have an existing website called www.mydomain.com that lives in /home/mydomain/public_html. I have written a rails app called "test" that is in /home/mydomain/test, and it''s rails "root" is therefore /home/mydomain/test/public. I am an
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
2006 Feb 08
2
Installing Rails on FreeBSD with Apache (and php)...
Hi, Sometime in the near future I''m going to attempt an installation of Rails on one of our school servers, so that a few of our most talanted students also will have the opportunity to learn RoR. The problem is that I''m not entirely sure on the best way to proceed, and I''m the only teacher on the school with Rails experience, but only for Windows. The server runs
2008 Jan 04
0
Rails URL Rewrite help needed
Hey guys, I need some help. Firstly: Running Rails 2.0.x cPanel Version 11.16.0-RELEASE Shared hosting. My App is not in public_html/ but under home/usr/rails_apps/(rubyapp) Please tell me how I get my rails app which is using the port eg http://www.domain.com:12001/ to be accessible without having to have users type the port, or even see the port ( the :12001 bit) Basically, in CPANEL,
2006 Nov 24
2
advanced search with ferret?
Hello, I''m a novice to ferret, so far only used it via acts_as_ferret. My question is about a recommended pattern for an ''advanced search'', which would be searching by all fields of a model and some fields from related models, with range search, expression search and wildcards. The kind of search in which a user is presented with a huge form that allows them to set