Ruby Tools / Librarys
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
In this video we're going to take a look at, a little bit more in-depth look at, that is, libraries available via Ruby Gems. So first off, location-wise, on a Mac and Linux systems they're a little bit different in Windows and you'll have to look around. It's in your Ruby root directory on Windows, but on Mac's and Linux it's going to be in the User and Lib, and then we go down here, oh, I'm sorry, Local and Lib, and then we go way down here to Ruby and then you'll see Gems, and then the version of Ruby that we're dealing with, and then inside of there you'll see Gems and then here's all of our Gems. So in a previous video we installed this progress bar, and there were some sample files that said that were possibly with it, and here's that sample file that we can open up and take a look at how this particular Gem is utilized in some code, and we can actually run that. So that's where the Gems are located at, if you want to manually take a look at stuff inside there. There's also the documents located down in here. Now these aren't readable by you, these are for use with the ah, RI tool that we covered in a previous video. Now, just take a quick scan through some of the current Gem libraries that are available out there. There are some pretty interesting ones. Now these first couple here actually have to do with Ruby on Rails, which is a Web environment, and there's another video series available on VTC detailing how Ruby on Rails works, and there's tons of stuff on the Internet concerning it. There's some active directory modules which are really interesting. There's JDBC, active record type of things, if we scroll down here, we have all kinds of little ah, tools to help you do different kinds of ah, searchers, interact with databases in a different manner. And we're just in the "a's" at this point and you can see that it's quite a lot of information out there. There's even some of these things like this one that allows you to interact with Amazon's Web service, and I know there's some things that interact with Google and Yahoo as well. There's some tools that work with Ant. So there's a variety of things and, and you know, you could do a search through here looking for various things that you're interested in. Um, I guess the main idea to get out of looking through here is don't reinvent the wheel. I mean, look at something like this: Beer: formulas and tools for home brewing, so obviously somebody went out there and did that, and you can download that, and as you saw you could actually see the code here. Here's the code for progress bar by the way, or you have the actual Ruby program you can go and take a look at it and modify it if you want depending on the license. Um, you have to use the Ruby license, but you can redistribute it here, it says, so you can actually look at how this stuff is implemented. If you download the beer one, for example, so it's probably a good way to learn a little bit about Ruby, too, is look through here at libraries that you're interested in, download them, and then take a look at the code that's in there of how they actually do, ah, the things in the library, and it'll help you with, with your learning Ruby and your code. So that's essentially a little bit about libraries in Ruby.
Tutorial Information
| Course: | Programming With Ruby |
| Author: | Al Anderson |
| SKU: | 33788 |
| ISBN: | 1-934743-01-1 |
| Release Date: | 2007-08-21 |
| Duration: | 8.5 hrs / 113 lessons |
| Work Files: |
Yes |
| Captions: | For Online University members only |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 