deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronelle Landy <rla...@redhat.com>
Subject Re: [PATCH] FGCP: use jruby-openssl >=0.8.7 which has proper pkcs12 support
Date Thu, 21 Mar 2013 03:01:25 GMT


> Hi Michal,
> 
> The PKCS12 patch for jruby that I had been contributing to has been
> merged and jruby-openssl-0.8.7.gem has been released!
> 
> I tried running DC on jruby on my local environment but couldn't get the
> gems installed:
> 
> d:\sources\OSS\cloud\deltacloud\server>jruby -S bundle install
> Fetching gem metadata from http://rubygems.org/.......
> Fetching gem metadata from http://rubygems.org/..
> Resolving dependencies...
> Bundler could not find compatible versions for gem "sinatra":
>  In Gemfile:
>    deltacloud-core (>= 0) ruby depends on
>      sinatra (<= 1.3.5) ruby
> 
>    deltacloud-core (>= 0) ruby depends on
>      sinatra (1.4.1)
> 
Hi Dies,

The gemfile issue you reported is as a result of a temporary change. 
If you want to use bundler to install dependencies, you can use the following workaround:

- edit deltacloud/server/deltacloud-core.gemspec and comment out the lines that specify the
'tilt' and 'sinatra' gem versions (easy to find ... Look for FixMe comment)

- run bundle from deltacloud/sever

- once bundle completes,
gem install tilt -v 1.3.3
gem install sinatra -v 1.3.5
gem uninstall tilt -v 1.3.6 (or version later than 1.3.3)
gem uninstall sinatra -v 1.4.1

Now you should be able to start Deltacloud. Running rake might object to the versions of above
gems - not 100% sure that you'll hit an error after the steps above. 

> Can you try it out in your environment and confirm the fgcp unit tests
> now pass on jruby?
> 
> Regards,
> Dies Koper
> 
> 
>> -----Original Message-----
>> From: diesk@fast.au.fujitsu.com [mailto:diesk@fast.au.fujitsu.com]
>> Sent: Thursday, 21 March 2013 11:27 AM
>> To: dev@deltacloud.apache.org
>> Subject: [PATCH] FGCP: use jruby-openssl >=0.8.7 which has proper
> pkcs12
>> support
>> 
>> From: Dies Koper <diesk@fast.au.fujitsu.com>
>> 
>> ---
>> server/Gemfile | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/server/Gemfile b/server/Gemfile
>> index 7ac1b25..0860db3 100644
>> --- a/server/Gemfile
>> +++ b/server/Gemfile
>> @@ -3,7 +3,7 @@ source "http://rubygems.org"
>> gemspec
>> 
>> platforms :jruby do
>> -  gem 'jruby-openssl'
>> +  gem 'jruby-openssl', '> 0.8.6' # has PKCS12 impl that fgcp requires
>>   gem 'puma'
>> end
>> 
>> --
>> 1.8.0.msysgit.0
>> 
>> 
> 
> 

Mime
View raw message