You can use string interpolation to do this as so:

```ruby
puts "Hi #{name}"
```