mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
|
Thrift Ruby Software Library
|
||
|
|
||
|
Author: Mark Slee (mcslee@facebook.com)
|
||
|
Last Modified: 2007-Mar-05
|
||
|
|
||
|
Thrift is distributed under the Thrift open source software license.
|
||
|
Please see the included LICENSE file.
|
||
|
|
||
|
Using Thrift with Ruby
|
||
|
======================
|
||
|
|
||
|
Okay, I'll be honest. I learned Ruby by implementing the Thrift library in
|
||
|
Ruby and writing the code generator at the same time. I am not a trendy
|
||
|
web 2.0 programmer. Shit, I don't even know Rails. So if you care about Ruby
|
||
|
you will probably find that this is currently the least robust Thrift library
|
||
|
implementation. But there's plenty of time to improve it...
|
||
|
|
||
|
The source code for the Ruby library is designed for installation with the
|
||
|
Python-esque setup.rb utility, which is included here and redistributable
|
||
|
under the GPL license.
|
||
|
|
||
|
To install the Thrift Ruby libraries, become superuser and do:
|
||
|
|
||
|
ruby setup.rb config
|
||
|
ruby setup.rb setup
|
||
|
ruby setup.rb install
|
||
|
|
||
|
Alternatively, if you know more about Ruby than me, you can improve the build
|
||
|
and installation process and contribute them back to this project. Wicked.
|