LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-15-2009, 04:06 PM   #1
RavenLX
Member
 
Registered: Oct 2004
Posts: 88

Rep: Reputation: 15
Question How do I get Ruby on Rails Application to work?


I've set up Ruby on Rails on Ubunty 8.04 LTS LAMP server with Passenger for Apache (libapache2-mod-passenger).

If I go to http://localhost/test.com/myapp/public I get the Ruby on Rails default page. If I go to http://localhost/test.com/myapp/app I get a directory listing of the files. If I click on views, and then the index page, it just lists the source code.

Apache has loaded the passenger module, I've confirmed that. This is a system that will be hosting multiple accounts (test.com, my-test-site, etc.) I need Ruby on Rails to work in any one or more of these accounts.

I've looked on Google and can't find anything relating to what I need.

Anyone know how to do this?

BTW, I know the app works as I set created it in a Desktop version of Ubuntu 8.04 and used WebBrick to test it. It works. I then uploaded the entire myapp folder and all it's sub folders to the test.com site on the Ubuntu server.

Any help would be appreciated.
 
  


Reply

Tags
apache, rails, ruby


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any issues installing Ruby Gems and Ruby on Rails in Slackware? Lufbery Slackware 8 02-09-2011 07:22 PM
LXer: Facebook Application Development with Ruby on Rails LXer Syndicated Linux News 0 05-29-2008 11:50 PM
PHP v Ruby/Ruby on Rails Neko_D Linux - General 4 02-08-2007 11:56 PM
Getting started with Ruby on Rails Ephracis Linux - Server 1 09-24-2006 03:40 PM
LXer: Ruby on Rails LXer Syndicated Linux News 0 07-03-2006 07:54 PM


All times are GMT -5. The time now is 09:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration