Skip to content

Commit

Permalink
Docs - improve windows fix
Browse files Browse the repository at this point in the history
Based on feedback in ruby/ruby#10645
  • Loading branch information
samaaron committed Apr 26, 2024
1 parent 1856367 commit 1cf57df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILD-WINDOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,14 @@ gem install rugged
This uses the Ruby library management tool `gem` to install rugged which is used to
store the code diffs in a local Git repository.

Note - with Ruby 3.3.1 you will need to modify line 321 of `lib\ruby\3.3.0\win32\registry.rb\` from:
Note - with Ruby 3.3.1 you will need to modify line 321 of `lib\ruby\3.3.0\win32\registry.rb` from:

```
data = "\0".force_encoding('ASCII-8BIT') * unpackdw(size)
```
to
```
data = String.new("\0").force_encoding('ASCII-8BIT') * unpackdw(size)
data = "\0".b * unpackdw(size)
```

### 1.5 Install Elixir
Expand Down

0 comments on commit 1cf57df

Please sign in to comment.