Can I package a Ruby library?

I made a Ruby project which includes may Ruby source files. I’d like to
package them into one file and let other applications use them. (Just
like jar files in Java). Can I do this in Ruby? If yes, how? If no, what
does Ruby developer do in this case?

thanks.

2008/11/23 Zhao Yi [email protected]:

I made a Ruby project which includes may Ruby source files. I’d like to
package them into one file and let other applications use them. (Just
like jar files in Java). Can I do this in Ruby? If yes, how? If no, what
does Ruby developer do in this case?

Rubygems are what you’re looking for. Check out http://www.rubygems.org

Farrel