You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2014/03/10 18:55:48 UTC

[jira] [Updated] (THRIFT-2395) thrift Ruby gem requires development dependency 'thin' regardless of environment

     [ https://issues.apache.org/jira/browse/THRIFT-2395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jake Farrell updated THRIFT-2395:
---------------------------------

    Fix Version/s: 0.9.2

> thrift Ruby gem requires development dependency 'thin' regardless of environment 
> ---------------------------------------------------------------------------------
>
>                 Key: THRIFT-2395
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2395
>             Project: Thrift
>          Issue Type: Bug
>          Components: Ruby - Library
>    Affects Versions: 0.9.1
>         Environment: Ruby 1.9.3-p484, Rails 3.0.20
>            Reporter: Tim Schmelmer
>            Assignee: Jake Farrell
>             Fix For: 0.9.2
>
>
> The thrift library requires the thin (HTTP webserver) uncoditionally, see thrift-0.9.1/lib/thrift.rb (ll. 59 - 65):
> # server
> require 'thrift/server/base_server'
> require 'thrift/server/nonblocking_server'
> require 'thrift/server/simple_server'
> require 'thrift/server/threaded_server'
> require 'thrift/server/thread_pool_server'
> require 'thrift/server/thin_http_server' 
> As there is no gemspec to require the thin gem (in development group or other), bundler will not find this gem dependency.
> Additionally, this dependency should only be required in development mode (as listed on rubygems: https://rubygems.org/gems/thrift/versions/0.9.1), so applications running in a production mode / environment should not need to depend on Thin at all, even if they use thrift.



--
This message was sent by Atlassian JIRA
(v6.2#6252)