blob: 7e1a1c6d675e46df1396e5f5a7d7c23eddec8f50 [file] [log] [blame]
Mark Slee54b7ab92007-03-06 00:06:27 +00001Thrift Ruby Software Library
2
3Author: Mark Slee (mcslee@facebook.com)
4Last Modified: 2007-Mar-05
5
6Thrift is distributed under the Thrift open source software license.
7Please see the included LICENSE file.
8
9Using Thrift with Ruby
10======================
11
12Okay, I'll be honest. I learned Ruby by implementing the Thrift library in
13Ruby and writing the code generator at the same time. I am not a trendy
14web 2.0 programmer. Shit, I don't even know Rails. So if you care about Ruby
15you will probably find that this is currently the least robust Thrift library
16implementation. But there's plenty of time to improve it...
17
18The source code for the Ruby library is designed for installation with the
19Python-esque setup.rb utility, which is included here and redistributable
20under the GPL license.
21
22To install the Thrift Ruby libraries, become superuser and do:
23
24ruby setup.rb config
25ruby setup.rb setup
26ruby setup.rb install
27
28Alternatively, if you know more about Ruby than me, you can improve the build
29and installation process and contribute them back to this project. Wicked.