Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2023 09:25:25 +0100
From:      white-wolf <white-wolf@blues-softwares.net>
To:        ruby@FreeBSD.org
Subject:   www/redmine50 /bin/sh: bundle: not found
Message-ID:  <dd2bf072f5096331425d9877f12a8aca4a4e59e7.camel@blues-softwares.net>

next in thread | raw e-mail | index | archive | help
--=-iE5/gtFr+zC5iNCn5KnD
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit


hi,

i try to install **www/redmine50**
and after lot of difficlute way to compile, with some pkg and else
i return always to this error

---

```
cp -f /usr/ports/www/redmine50/files/commonmark.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cd /usr/ports/www/redmine50/work/redmine-5.0.4 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/www/redmine50/work/stage/usr/local/www/redmine
/usr/bin/touch /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/Gemfile.lock
cp -f /usr/ports/www/redmine50/files/markdown.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/pg.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/mini_magick.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
(cd /usr/ports/www/redmine50/work/stage/usr/local/www/redmine && /bin/rm -f Gemfile.lock && bundle install --local)
/bin/sh: bundle: not found
*** Error code 127

Stop.
make[1]: stopped in /usr/ports/www/redmine50
*** Error code 1

Stop.
make: stopped in /usr/ports/www/redmine50

===>>> make stage failed for www/redmine50
===>>> Aborting update
```
---

```
===>>> pkg-message for ruby-3.1.3_2,1
On install:
Some of the standard commands and libraries are provided as separate
ports for ease of upgrading:

        devel/ruby-gems:                gem - RubyGems package manager
        devel/rubygem-debug:            debug - Debugging functionality for Ruby
        devel/rubygem-erb:              erb - Templating system for Ruby
        devel/rubygem-irb:              irb - Interactive Ruby
        devel/rubygem-minitest:         minitest - Complete suite of testing facilities
        devel/rubygem-power_assert:     power_assert - Power Assert for Ruby
        devel/rubygem-rake:             rake - Ruby Make
        devel/rubygem-rbs:              rbs - Language for type signatures for Ruby and standard library definitions
        devel/rubygem-rdoc:             rdoc - Ruby Documentation System
        devel/rubygem-test-unit:        test-unit - Unit testing framework for Ruby
        devel/rubygem-typeprof:         typeprof - Type analysis tool for Ruby code
        ftp/rubygem-net-ftp:            net-ftp - Support for the File Transfer Protocol
        mail/rubygem-net-imap:          net-imap - Ruby client api for Internet Message Access Protocol
        mail/rubygem-net-pop:           net-pop - Ruby client library for POP3
        mail/rubygem-net-smtp:          net-smtp - Simple Mail Transfer Protocol client library for Ruby
        math/rubygem-matrix:            matrix - Implementation of Matrix and Vector classes
        math/rubygem-prime:             prime - Prime numbers and factorization library
        sysutils/rubygem-bundler:       bundler - Tool that manages gem dependencies for ruby applications
        textproc/rubygem-rexml:         rexml - XML toolkit for Ruby
        www/rubygem-rss:                rss - Family of libraries that support various formats of XML "feeds"

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

        databases/rubygem-dbm:  DBM module
        databases/rubygem-gdbm: GDBM module

Install them as occasion demands.

===>>> Done displaying pkg-message files
```
---

```
===>>> Upgrade of ruby-3.0.5,1 to ruby-3.1.3_2,1 complete


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> www/redmine50 databases/rubygem-pg databases/postgresql13-client devel/rubygem-csv devel/rubygem-erb www/rubygem-cgi devel/rubygem-request_store devel/rubygem-rotp mail/rubygem-roadie-rails-rails61 mail/rubygem-roadie textproc/rubygem-css_parser net/rubygem-net-ldap print/rubygem-rbpdf print/rubygem-rbpdf-font textproc/rubygem-htmlentities textproc/rubygem-actionpack-xml_parser-rails61 textproc/rubygem-commonmarker textproc/rubygem-html-pipeline textproc/rubygem-psych devel/rubygem-stringio textproc/rubygem-redcarpet textproc/rubygem-rouge textproc/rubygem-sanitize www/rubygem-deckar01-task_list www/rubygem-rqrcode graphics/rubygem-chunky_png 

This command has been saved to ~/portmasterfail.txt
```
---

i'm based on this tutorial : [Redmine + nginx](https://forums.freebsd.org/threads/howto-redmine-nginx-passenger-postgresql.41256/)

i could update the ports by the FreeBSD Porter's Handbook but in first i try to install manualy.

---

<p>
help me for debug please,
best regards,
white-wolf.
</p>

--=-iE5/gtFr+zC5iNCn5KnD
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit

<p>hi,</p>
<p>i try to install <strong>www/redmine50</strong>
and after lot of difficlute way to compile, with some pkg and else
i return always to this error</p>
<hr />
<pre><code>cp -f /usr/ports/www/redmine50/files/commonmark.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cd /usr/ports/www/redmine50/work/redmine-5.0.4 &amp;&amp; /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 &gt;/dev/null 2&gt;&amp;1) &amp;&amp;  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' &amp;&amp; chmod 755 &quot;$@&quot;'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' &amp;&amp; chmod 0644 &quot;$@&quot;'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/www/redmine50/work/stage/usr/local/www/redmine
/usr/bin/touch /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/Gemfile.lock
cp -f /usr/ports/www/redmine50/files/markdown.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/pg.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
cp -f /usr/ports/www/redmine50/files/mini_magick.rb /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d
(cd /usr/ports/www/redmine50/work/stage/usr/local/www/redmine &amp;&amp; /bin/rm -f Gemfile.lock &amp;&amp; bundle install --local)
/bin/sh: bundle: not found
*** Error code 127

Stop.
make[1]: stopped in /usr/ports/www/redmine50
*** Error code 1

Stop.
make: stopped in /usr/ports/www/redmine50

===&gt;&gt;&gt; make stage failed for www/redmine50
===&gt;&gt;&gt; Aborting update
</code></pre>
<hr />
<pre><code>===&gt;&gt;&gt; pkg-message for ruby-3.1.3_2,1
On install:
Some of the standard commands and libraries are provided as separate
ports for ease of upgrading:

        devel/ruby-gems:                gem - RubyGems package manager
        devel/rubygem-debug:            debug - Debugging functionality for Ruby
        devel/rubygem-erb:              erb - Templating system for Ruby
        devel/rubygem-irb:              irb - Interactive Ruby
        devel/rubygem-minitest:         minitest - Complete suite of testing facilities
        devel/rubygem-power_assert:     power_assert - Power Assert for Ruby
        devel/rubygem-rake:             rake - Ruby Make
        devel/rubygem-rbs:              rbs - Language for type signatures for Ruby and standard library definitions
        devel/rubygem-rdoc:             rdoc - Ruby Documentation System
        devel/rubygem-test-unit:        test-unit - Unit testing framework for Ruby
        devel/rubygem-typeprof:         typeprof - Type analysis tool for Ruby code
        ftp/rubygem-net-ftp:            net-ftp - Support for the File Transfer Protocol
        mail/rubygem-net-imap:          net-imap - Ruby client api for Internet Message Access Protocol
        mail/rubygem-net-pop:           net-pop - Ruby client library for POP3
        mail/rubygem-net-smtp:          net-smtp - Simple Mail Transfer Protocol client library for Ruby
        math/rubygem-matrix:            matrix - Implementation of Matrix and Vector classes
        math/rubygem-prime:             prime - Prime numbers and factorization library
        sysutils/rubygem-bundler:       bundler - Tool that manages gem dependencies for ruby applications
        textproc/rubygem-rexml:         rexml - XML toolkit for Ruby
        www/rubygem-rss:                rss - Family of libraries that support various formats of XML &quot;feeds&quot;

And some of the standard libraries are provided as separate ports
since they require extra dependencies:

        databases/rubygem-dbm:  DBM module
        databases/rubygem-gdbm: GDBM module

Install them as occasion demands.

===&gt;&gt;&gt; Done displaying pkg-message files
</code></pre>
<hr />
<pre><code>===&gt;&gt;&gt; Upgrade of ruby-3.0.5,1 to ruby-3.1.3_2,1 complete


===&gt;&gt;&gt; You can restart from the point of failure with this command line:
       portmaster &lt;flags&gt; www/redmine50 databases/rubygem-pg databases/postgresql13-client devel/rubygem-csv devel/rubygem-erb www/rubygem-cgi devel/rubygem-request_store devel/rubygem-rotp mail/rubygem-roadie-rails-rails61 mail/rubygem-roadie textproc/rubygem-css_parser net/rubygem-net-ldap print/rubygem-rbpdf print/rubygem-rbpdf-font textproc/rubygem-htmlentities textproc/rubygem-actionpack-xml_parser-rails61 textproc/rubygem-commonmarker textproc/rubygem-html-pipeline textproc/rubygem-psych devel/rubygem-stringio textproc/rubygem-redcarpet textproc/rubygem-rouge textproc/rubygem-sanitize www/rubygem-deckar01-task_list www/rubygem-rqrcode graphics/rubygem-chunky_png 

This command has been saved to ~/portmasterfail.txt
</code></pre>
<hr />
<p>i'm based on this tutorial : <a href="https://forums.freebsd.org/threads/howto-redmine-nginx-passenger-postgresql.41256/">Redmine + nginx</a></p>
<p>i could update the ports by the FreeBSD Porter's Handbook but in first i try to install manualy.</p>
<hr />
<p>
help me for debug please,
best regards,
white-wolf.
</p>

--=-iE5/gtFr+zC5iNCn5KnD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd2bf072f5096331425d9877f12a8aca4a4e59e7.camel>