Skip to content

Commit c2775c9

Browse files
authored
Merge pull request #59 from ledsun/fix_tutarial
Fix 1st hello world step in the tutorial
2 parents 0bfab5d + 53e1e66 commit c2775c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

TUTORIAL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Before starting, make sure you've installed Rubex with `gem install rubex`.
2929
In a Rubex file titled `hello_word.rubex` paste the following code:
3030
``` ruby
3131
def hello_world
32-
print "Hello world!"
32+
print("Hello world!")
3333
end
3434
```
3535

@@ -45,9 +45,9 @@ ruby extconf.rb
4545
make
4646
```
4747

48-
This will generate a shared object file called `hello_world.so` that can be used in any normal Ruby script like so:
48+
This will generate a shared object file called `hello_world.bundle` that can be used in any normal Ruby script like so:
4949
``` ruby
50-
require_relative 'hello_world.so'
50+
require_relative 'hello_world/hello_world'
5151

5252
hello_world
5353
```

0 commit comments

Comments
 (0)