*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
- Install updated version of bundler
- Installing rails 4.0
- Creating a new project
- Create .htaccess
- Create symlink
- Modify group/permissions
Via PHP Shell
Install updated version of bundler
...
| No Format |
|---|
% cd /www/myrailsapp/htdocs/ % ln -s /www/myrailsapp/myrailsapp/public myrailsappdev |
Configure mysql database
Configure the database name/username/password.
| No Format |
|---|
% cat /www/myrailsapp/myrailsapp/config/database.yml
...
development:
adapter: mysql2
encoding: utf8
database: myrailsapp_development
pool: 5
username: myrailsapp
password: [password]
socket: /var/lib/mysql/mysql.sock
...
|
Configure permissions
If you installed using "lamp" you will need to make the "log" and "tmp" directory writable by the web server.
| No Format |
|---|
% cd /www/myrailsapp/myrailsapp
% chgrp lampgrp tmp log
% chmod g+s tmp log
|