You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zoombody edited this page Dec 31, 2012
·
5 revisions
The development environment is similar to the production environment. You might want to choose to use different database connections when you test new code. For this use the development section in `config/database.yml`.
Asset pipeline
Assets that were compiled for the production environment with rake assets:precompile will cause conflicts in the development environment. They can be removed by running rake assets:clean.
Setting up an Development Environment on Ubuntu 11.04
First follow the steps to setup a minimal installation on Ubuntu: Ubuntu 11.04 minimal setup. Afterwards you can then install debugging support and start the server in debugging mode:
Install debugger support with:
sudo gem install ruby-debug
Start server with
server --debugger
Simply insert the debugger statement in the Ruby code to invoke a debugger shell with the current context.