Re: www/redmine50 /bin/sh: bundle: not found

From: white-wolf <white-wolf_at_blues-softwares.net>
Date: Mon, 20 Mar 2023 15:38:09 UTC
edit: sorry i mistake correct address

---
i try to restart by pakages
i do: https://wiki.blues-softwares.net/doku.php/redmine

and i try to adapt this to FreeBSD:
https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_50x_on_Ubuntu_2004_with_Apache2
---

i try :

[root@localhost](mailto:root@localhost) [(none)]> CREATE USER
'redmine'@'localhost' IDENTIFIED BY 'secretPassword';
ERROR 1396 (HY000): Operation CREATE USER failed for
'redmine'@'localhost'
---

my databases:

[root@localhost][(none)]> SHOW DATABASES;
+--------------------+
> Database           |
+--------------------+
> information_schema |
> mysql              |
> performance_schema |
> redmine            |
+--------------------+
4 rows in set (0.01 sec)

i will try to delete all db but only sys can be deleted
---

how can i restart configuration to zero and retry correctly...?
---

please help,
regards,
white-wolf.
---

On Mon, 2023-03-20 at 09:41 +0100, white-wolf wrote:<br>
> > 
> > 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.l
> > ock
> > 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<br>> 
> > ---
> > 
> > ===>>> 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:
> > https://forums.freebsd.org/threads/howto-redmine-nginx-passenger-
> > postgresql.41256/
> > > > ---
> > 
> > i could update the ports by the FreeBSD Porter's Handbook but, i
> > try to install manualy in fist
> > ---
> > help me for debug please,
> > best regards,
> > white-wolf.