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