Ruby Pocket Reference (book): Useful Windows Tip Found Here

I just bought a copy of Ruby Pocket Reference (O'Reilly July 2007, US$9.99). I always tend to think of these pocket reference mini-books as condensed books. So, I was surprised to see something I hadn't seen in other Ruby books before: A short section with step-by-step instructions for associating the Ruby .rb file type with the Ruby interpreter for launching scripts from the command line. This is simple to do in a Linux or Mac OS X shell (using #! shebang shell directive) but is a giant pain in Windows. Check out the instructions starting on page 5 of this book to get the gory details (and they are gory compared to the simplicity in Linux or Mac OS X).



Recent comments
17 hours 45 min ago
1 week 3 days ago
3 weeks 2 days ago
3 weeks 5 days ago
4 weeks 5 days ago
5 weeks 5 days ago
6 weeks 2 days ago
7 weeks 21 hours ago
7 weeks 1 day ago
7 weeks 2 days ago