You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Michael Stockton (JIRA)" <ji...@apache.org> on 2011/03/03 22:28:36 UTC

[jira] Commented: (THRIFT-987) ruby does not build on Debian based distro's

    [ https://issues.apache.org/jira/browse/THRIFT-987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002232#comment-13002232 ] 

Michael Stockton commented on THRIFT-987:
-----------------------------------------

Looks like we're looking for a version of rspec greater than 1.1.4 which is pretty old.

#spec/spec_helper.rb
gem 'rspec', '>= 1.1.4'

Roger, can you run 'gem list rspec' and paste the results back? If you don't see any output, then you may not have it installed at all. You can install it with the following command: 'gem install rspec'.



> ruby does not build on Debian based distro's
> --------------------------------------------
>
>                 Key: THRIFT-987
>                 URL: https://issues.apache.org/jira/browse/THRIFT-987
>             Project: Thrift
>          Issue Type: Question
>          Components: Build Process, Python - Library
>         Environment: Ubuntu
> {code}
> ii  libruby1.8                                      1.8.7.249-2                       Libraries necessary to run Ruby 1.8
> ii  rake                                            0.8.7-1                           a ruby build program
> ii  ruby                                            4.2                               An interpreter of object-oriented scripting 
> ii  ruby-dev                                        4.2                               Header files for compiling extension modules
> ii  ruby1.8                                         1.8.7.249-2                       Interpreter of object-oriented scripting lan
> ii  ruby1.8-dev                                     1.8.7.249-2                       Header files for compiling extension modules
> ii  rubygems                                        1.3.5-1ubuntu2                    package management framework for Ruby librar
> ii  rubygems1.8                                     1.3.5-1ubuntu2                    package management framework for Ruby librar
> ii  librspec-ruby                                   1.2.9-1                           Behaviour Driven Development framework for R
> ii  librspec-ruby1.8                                1.2.9-1                           Behaviour Driven Development framework for R
> {code}
>            Reporter: Roger Meier
>
> Ruby does not build on Debian Lenny or Ubuntu
> see https://hudson.apache.org/hudson/pview/job/Thrift-trunk/23/console
> {code}
> /usr/lib/ruby/1.8/rubygems.rb:827:in `report_activate_error': Could not find RubyGem rspec (>= 1.1.4) (Gem::LoadError)
> 	from /usr/lib/ruby/1.8/rubygems.rb:261:in `activate'
> 	from /usr/lib/ruby/1.8/rubygems.rb:68:in `gem'
> 	from ./spec/spec_helper.rb:22
> 	from ./spec/exception_spec.rb:20:in `require'
> 	from ./spec/exception_spec.rb:20
> 	from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:15:in `load'
> 	from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:15:in `load_files'
> 	from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:in `each'
> 	from /usr/lib/ruby/1.8/spec/runner/example_group_runner.rb:14:in `load_files'
> 	from /usr/lib/ruby/1.8/spec/runner/options.rb:132:in `run_examples'
> 	from /usr/lib/ruby/1.8/spec/runner/command_line.rb:9:in `run'
> 	from /usr/bin/spec:3
> rake aborted!
> Command /usr/bin/ruby1.8 -I"lib"  "/usr/bin/spec" "spec/exception_spec.rb" "spec/binary_protocol_spec.rb" "spec/serializer_spec.rb" "spec/binary_protocol_accelerated_spec.rb" "spec/client_spec.rb" "spec/nonblocking_server_spec.rb" "spec/http_client_spec.rb" "spec/mongrel_http_server_spec.rb" "spec/server_socket_spec.rb" "spec/types_spec.rb" "spec/unix_socket_spec.rb" "spec/base_transport_spec.rb" "spec/base_protocol_spec.rb" "spec/server_spec.rb" "spec/compact_protocol_spec.rb" "spec/socket_spec.rb" "spec/processor_spec.rb" "spec/union_spec.rb" "spec/struct_spec.rb" --color failed
> {code}
> What's the relation with http://svn.apache.org/viewvc?view=revision&revision=668954 and the "describe Module do" bug ?
> do we really need rspec 1.1.4?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira