0

I want to install Rails in my ubuntu system.So I followed the document https://help.ubuntu.com/8.04/serverguide/C/ruby-on-rails.html.Where I did sudo apt-get install rails an d it installed rails.Now the next step is to Modify the /etc/apache2/sites-available/default configuration file to setup your domains.So can you tell me how to mpodify that?

2
  • i guess you should install rails as a gem, no? Commented Mar 19, 2011 at 6:27
  • Are you using Ubuntu 8.04? If not, there are really far better and up-to-date guides out there Commented Mar 19, 2011 at 6:28

4 Answers 4

1

Try

gksudo gedit /etc/apache2/sites-available/default&

It should ask for your password and open the file for modification.

Sign up to request clarification or add additional context in comments.

Comments

0

You'll need to run a text editor on the configuration file. Something like:

sudo gedit /etc/apache2/sites-available/default

Or replace gedit with your favourite editor such as nano, vim, emacs, etc...

Comments

0

You can find everything you need here :

https://help.ubuntu.com/community/RubyOnRails

Apache is here :

https://help.ubuntu.com/community/RubyOnRails#Configure%20Apache

Comments

0

I've tried to provide a good guide for getting Rails up and going on Ubuntu 11.04 (but it should be backwards compatible as well): http://blog.dcxn.com/2011/06/21/rolling-with-rails-3-on-ubuntu-11-04/

The gist of it is:

  1. Install RVM
  2. Install Rails from Gem
  3. Rock out and write that great web app!

Hope it helps

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.