Fatal errors installing esqlite with mix

I’m playing with Phoenix and although postgres is supported by default, I wanted to tinker with n sqlite database for a project I’m working on.

It is simple enough to set up esqlite, however, when trying to run mix ecto.migrate, I bumped into the following error:

c_src/esqlite3_nif.c:21:21: fatal...
Keep reading...

How to install inconsolata font on Ubuntu

This is a simple one-liner. Open a terminal and install the font as follows:

sudo apt-get install fonts-inconsolata

With the font installed, you can now set your terminal’s font by clicking Edit->Profiles in the terminal menu and then selecting the profile from the windown that pops up and clicking...

Keep reading...

Getting Started With Laravel - White Screen Of Death

There’s very little that’s more frustrating than trying to ramp up on a new framework only to be kaiboshed by some bizarre and unexplained error. Especially when you are just following a getting started type guide. Suddenly you find yourself shaving a yak, debugging something that should be working...

Keep reading...

Artisan Tinker Class not found in eval()'d code on line 1

Imagine you’ve set up a simple blogging application in Laravel. You’ve created a migration and model for your posts table and Post model respectively.
You’ve seeded up a few posts just to test things out and you want to play with tinker so…

php artisan tinker
>>>\App\Post::count();
PHP Fatal error...
Keep reading...

← This way | That way →