Monthly Archives: March 2016

Sourdough at last

image

Finally, i have given in and made some sourdough. Not actually very difficult – the dough is pretty routine – although some of the instructions are a bit vague: can you use “old dough” instead of starter?
Anyway, I have replenished my starter and an keeping it in the fridge for next time.
The family seem to like it so that’s all good.

Fixing ugly Rails uglifier error

More in the notes-to-self to unblock problems with Rails (and ruby in general).

I have just been working on a new project and got the following error when trying to create the very first scaffold:

rails g scaffold crossword_setters name:string setter_type_id:integer 
/home/julian/.rvm/gems/ruby-2.3.0/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'uglifier'. (Bundler::GemRequireError)

Okay? So this is telling me that I am missing a dependency, but keeping the essential details hidden.

A quick bit of searching suggests that uglifier depends on a JavaScript library; I typically  use ‘therubyracer‘.

I was still getting the error after installing both the ‘therubyracer’ and ‘libv8′ gems, having neglected to make sure that it had been enabled in the Gemfile. This last step is the fix.

Brioche

image

Another bash at making brioche using the second tin I bought in Portsmouth a few months ago; I could probably get away with a third tin.
The dough felt better to work with this time and as usual with my baking, it treasure better than it looks.
It’s nice to be feeling the urge to brake again and to try and be a little more adventurous.