Hmm, bundler isn't listed in the conda spec indeed. Would you be OK with adding 
it to `ci/conda_env_glib.txt` and trying again? Or else, it will try to install 
bundler for you if the executable is not found, but it will ask for sudo since 
we forgot to add --user-install ([1] fixes this, thanks to Benson).

[1]: https://github.com/apache/arrow-adbc/pull/327

On Tue, Jan 10, 2023, at 09:47, Antoine Pitrou wrote:
> Ok, for some reason, piping the output gives a bit more detail:
>
> Bundle complete! 3 Gemfile dependencies, 12 gems now installed.
> Bundled gems are installed into `./vendor/bundle`
> Traceback (most recent call last):
>       10: from 
> /tmp/arrow-adbc-0.1.0.HemSY/mambaforge/envs/conda-source/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
>  
> `require'
>        9: from 
> /tmp/arrow-adbc-0.1.0.HemSY/mambaforge/envs/conda-source/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
>  
> `require'
>        8: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/setup.rb:20:in
>  
> `<top (required)>'
>        7: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/ui/shell.rb:88:in
>  
> `silence'
>        6: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/ui/shell.rb:136:in
>  
> `with_level'
>        5: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/setup.rb:20:in
>  
> `block in <top (required)>'
>        4: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler.rb:151:in 
> `setup'
>        3: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/runtime.rb:18:in
>  
> `setup'
>        2: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/definition.rb:238:in
>  
> `specs_for'
>        1: from 
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/definition.rb:190:in
>  
> `specs'
> /usr/share/rubygems-integration/all/gems/bundler-2.3.5/lib/bundler/definition.rb:481:in
>  
> `materialize': Could not find gobject-introspection-4.0.6, 
> red-arrow-10.0.1, test-unit-3.5.7, glib2-4.0.6, bigdecimal-3.1.3, 
> extpp-0.1.1, gio2-4.0.6, native-package-installer-1.1.5, 
> pkg-config-1.5.1, power_assert-2.0.3, fiddle-1.1.1 in any of the 
> sources (Bundler::GemNotFound)
> Failed to verify release candidate. See /tmp/arrow-adbc-0.1.0.HemSY for 
> details.
>
>
> So indeed the system bundler is used even when Conda is enabled.
>
> Regards
>
> Antoine.
>
>
> Le 10/01/2023 à 15:41, Antoine Pitrou a écrit :
>> 
>> Le 10/01/2023 à 09:23, Sutou Kouhei a écrit :
>>> Hi,
>>>
>>> What is your distribution? Ubuntu 22.04?
>> 
>> Yes.
>> 
>>> It's strange that you use Bundler 2.3.5 with USE_CONDA=1.
>> 
>> Well, it seems bundler isn't installed in the Conda environment, so
>> perhaps the system bundler is used?
>> 
>> $ pwd
>> /tmp/arrow-adbc-0.1.0.utShr
>> $ find -name "bundler"
>> $
>>

Reply via email to