In the post How to add your own scripts to Ruby loader path and solve load errors I solved a very annoying problem for newbies (like me).
With that issue addressed I continued to develop my project. It basically is composed by a main file that loads all scripts from lib sub-folder and executes some methods. Continue reading “How to create your own plugins for your Ruby programs”
These days I started to play with Ruby and I needed to figure out how to load my own scripts from a sub-directory into my project folder. Continue reading “How to add your own scripts to Ruby loader path and solve load errors”
In the beginning of my Ruby On Rails project I tried to run migration command
and got the error bellow:
Unknown database 'mysite_development'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Continue reading “How to solve error rake aborted! Unknown database ‘mysite_development’”
Yesterday I started developing a site using Ruby On Rails with MySQL database.
When I tried to connect to MySQL I got error message
Can't connect to MySQL server on 'localhost' (10061)
Continue reading “How to solve – Can’t connect to MySQL server on ‘localhost”