| OLD | NEW |
| (Empty) | |
| 1 1. Change current directory to native_client/tests/ruby |
| 2 |
| 3 cd install_dir/build/native_client/tests/ruby |
| 4 |
| 5 2. From native_client/tests/ruby directory: |
| 6 |
| 7 make nacl download |
| 8 |
| 9 It will download Ruby sources and will copy neccessary files from |
| 10 native_client/tests/ruby/appendix to these sources. |
| 11 |
| 12 3. Build NaCl ruby from native_client/tests/ruby directory: |
| 13 |
| 14 make nacl debug |
| 15 |
| 16 or |
| 17 |
| 18 make nacl release |
| 19 |
| 20 4. Run golden tests: |
| 21 |
| 22 make nacl golden |
| 23 |
| 24 5. Start a webserver from native_client directory using: |
| 25 |
| 26 /usr/bin/python2.5 tools/httpd.py |
| 27 |
| 28 6. Goto http://localhost:5103/tests/ruby/ruby.html and wait until |
| 29 "Ruby is loaded" message is appeared. 99% of time it require less |
| 30 than a second to load. |
| 31 |
| 32 7. Try Ruby queries like: |
| 33 |
| 34 puts "Hello, world!" |
| 35 name = "Joe" |
| 36 puts "Hello, #{name}" |
| 37 puts 2+3 |
| 38 10.times { puts "NaCl\n" } |
| 39 |
| 40 Not everything works, you should expect some errors. |
| OLD | NEW |