Tag Archives: nuby

How to work with Git submodules and Git for Mac

As much as I love the new Github app (1.1.7) for Mac, it doesn’t work with submodules. This has been confirmed by Github’s tech support.

Hopefully they will graciously solve that problem soon. Until then, here is the workaround.

Posted in developer tools, open source, programming, web programming | Also tagged , , , | Leave a comment

Upgrading from Leopard to Lion the painful way

The painful way:

Backup with TimeMachine
Upgrade to Snow Leopard
Upgrade to Lion
Restore essential data from TimeMachine

Posted in developer tools, programming, Ruby programming, software engineering | Also tagged , , , , , | Leave a comment

Be careful with stub! in RSpec

First of all, you should be careful with any call to stub.

You probably want to use stub just to simulate a behavior, one that you don’t want to test in your current test.

For example: You may want to use stub with a remote service, an API call.

Posted in developer tools, Ruby programming, web programming | Also tagged , , | Leave a comment