You are here

programming languages

Attempt to run Rails Server creates a folder named 'server'

If you are attempting to execute the rails server by executing rails s or rails server and instead of having the server started you only get a folder named 'server' or the usage help message for the rails command, you are most probably running rails version 2.x.
For this version of rails you must use the command ruby script/server to start the server.

Developing Rails Application on Mac OS X Leopard

Apple provides a nice tutorial on how to start developing using Rails on a Mac OS.
If you are new to the Mac World, it is of great help.

Solve the "uninitialized constant ApplicationController" Problem

Have you just updated your rails version from 2.2.2 to 2.3.5 (or later) and you are getting the strange error message below?

uninitialized constant ApplicationController

This happens because the application controller is no longer called application.rb.
It is now know as application_controller.rb.

There is a rake task to do the renaming automatically for you. Simply run:

rake rails:update

PHP and Eclipse IDE Indigo - Missing Anything?

Due to lack of a package maintainer for the Eclipse Indigo release there is no PHP (PDT) package included. If you would like to install PDT into your Eclipse installation you can do so by using the Install New Software feature from the Help Menu and installing the PHP Development Tools (PDT) SDK Feature from the Eclipse Indigo Repo >> http://download.eclipse.org/releases/indigo

Subscribe to RSS - programming languages