Installation Problems

On this page, you can find the solution to some problems that might occur while installing. If any particular problem occured to you while installing, add the problem and the solution (if you found one) here.

I get the error "uninitialized constant RedCloth" when viewing comments/posts

That means you don't have RedCloth installed, which parses the Textile formatting in comments and posts. If you have RubyGems installed, you can get it with the command gem install RedCloth.

I get the error "#42000Unknown database 'NAMEOFYOURBLOG_development" when trying to perform rake db:schema:load

This means that you have to do an extra step in order to set up your database first. The easiest way to do this is to open up a database admin tool such as the excellent MySQL Administrator or even better PHPMyAdmin. From here set up the database with YOURBLOGNAME_development and run the rake db:schema:load again. This should fix your problem.

I get the standard "Welcome aboard" message when running my test server for the first time

This has happened because you set up your rails project and then copied the Chameleon files across. Simply remove the 'index.rhtml' file from the 'public' directory and refresh your page.

I'm having trouble setting up the database are there any other options to using the standard rake:db:schema:load

Yes you can simply run the .sql file in your database admin tool. The sql file can be found here; database-structure.

page_revision: 10, last_edited: 1204572017|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.