---
title: "Diego Novais (@diegonovais) | Hashnode"
description: "Software Engineer | Elixir | Phoenix | Ruby | Ruby On Rails | Technical Writer. With over a decade of experience in software engineering, I am always improvi..."
url: "https://hashnode.com/@diegonovais"
---

@diegonovais

# Diego Novais

@diegonovais · Brazil · Joined December 2021

[Website](https://blog.diegonovais.com.br/)

### [Closures: block, proc e lambda - Ruby](https://blog.diegonovais.com.br/closures-block-proc-e-lambda-ruby?utm_source=hashnode&utm_medium=feed)

Blocks, Procs e Lambdas são referenciados de maneira geral como “closure” e que por sua vez são uns dos aspectos mais poderosos do Ruby e também um dos mais complexos. Para entedermos melhor que são closures precisamos compreender alguns conceitos: E...

5 min read · [blog.diegonovais.com.br](https://blog.diegonovais.com.br/closures-block-proc-e-lambda-ruby?utm_source=hashnode&utm_medium=feed)

[May 9, 2023](https://hashnode.com/posts/closures-block-proc-e-lambda-ruby/645a5c55ca9177585bc9f467)

### [Setting the version of a Gem on Gemfile](https://blog.diegonovais.com.br/setting-the-version-of-a-gem-on-gemfile?utm_source=hashnode&utm_medium=feed)

Greetings Rubysts, Setting the version of a Gem in the Gemfile is an essential step in managing dependencies for a Ruby project. The Gemfile allows you to specify the version of a Gem that your project requires, ensuring that all project contributors...

3 min read · [blog.diegonovais.com.br](https://blog.diegonovais.com.br/setting-the-version-of-a-gem-on-gemfile?utm_source=hashnode&utm_medium=feed)

[May 9, 2023](https://hashnode.com/posts/setting-the-version-of-a-gem-on-gemfile/6459bc2dae33a9a9a987529c)

### [Fixing the error: can't find gem bundler](https://blog.diegonovais.com.br/fixing-the-error-cant-find-gem-bundler?utm_source=hashnode&utm_medium=feed)

Greetings friends! If you are in a rails project and need to install the gem bundler, but you got this error: can't find gem bundler (>= 0.a) The best way to install the gem bundler and avoid or fix this error is to install the bundler gem by gettin...

1 min read · [blog.diegonovais.com.br](https://blog.diegonovais.com.br/fixing-the-error-cant-find-gem-bundler?utm_source=hashnode&utm_medium=feed)

[Apr 26, 2023](https://hashnode.com/posts/fixing-the-error-cant-find-gem-bundler/6449270ec336c96d7feba394)

### [Installing lower version of Ruby using ASDF](https://blog.diegonovais.com.br/installing-lower-version-of-ruby-using-asdf?utm_source=hashnode&utm_medium=feed)

Installing lower version of Ruby using ASDF

1 min read · [blog.diegonovais.com.br](https://blog.diegonovais.com.br/installing-lower-version-of-ruby-using-asdf?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/installing-lower-version-of-ruby-using-asdf/643dc1a56666b1644373ba90) [Apr 17, 2023](https://hashnode.com/posts/installing-lower-version-of-ruby-using-asdf/643dc1a56666b1644373ba90)

### [4 Stages Of Problem Solving](https://blog.diegonovais.com.br/4-stages-of-problem-solving?utm_source=hashnode&utm_medium=feed)

As software developers, we are faced with an array of tasks and problems that require our attention and expertise daily. To address these challenges, based on my studies, I rely on a problem-solving strategy that consists of four stages. 1 - Analyze...

2 min read · [blog.diegonovais.com.br](https://blog.diegonovais.com.br/4-stages-of-problem-solving?utm_source=hashnode&utm_medium=feed)

[Apr 12, 2023](https://hashnode.com/posts/4-stages-of-problem-solving/643701a249c9d59494747649)
