Reply to comment
Ruby Pocket Reference (book): Useful Windows Tip Found Here
Submitted by todd on Mon, 2007-08-13 20:28
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
1 day 3 hours ago
2 days 23 hours ago
3 days 2 hours ago
3 days 11 hours ago
3 days 17 hours ago
4 days 9 hours ago
1 week 2 days ago
1 week 3 days ago
1 week 3 days ago
2 weeks 5 days ago