Re: www/redmine50 /bin/sh: bundle: not found
- In reply to: white-wolf : "www/redmine50 /bin/sh: bundle: not found"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Mar 2023 13:20:56 UTC
--- i try to restart by pakages<br> i do: [this command](https://wiki.blues-softwares.net/doku.php/redmine)<br> and i try to adapt this to FreeBSD: [Umuntu HOWTO](https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_50x_on_Ubuntu_2004_with_Apache2)<br> <br> --- i try :<br> [root@localhost](mailto:root@localhost) [(none)]> CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'secretPassword';<br> ERROR 1396 (HY000): Operation CREATE USER failed for 'redmine'@'localhost'<br> --- my databases:<br> [root@localhost](mailto:root@localhost) [(none)]> SHOW DATABASES;<br> +--------------------+<br> | Database |<br> +--------------------+<br> | information_schema |<br> | mysql |<br> | performance_schema |<br> | redmine |<br> +--------------------+<br> 4 rows in set (0.01 sec)<br> i will try to delete all db but only sys can deleted<br> can´t arrive to restart configuration to zero<br> --- please help,<br> regards,<br> white-wolf.<br> --- On Mon, 2023-03-20 at 09:41 +0100, white-wolf wrote:<br> > > <br> > > hi,<br>> > > <br> > > i try to install www/redmine50<br>> > > and after lot of difficlute way to compile, with some pkg and else<br>> > > i return always to this error<br>> > > <br> > > _____________________________________________________________________<br>> __<br>> > > <br> > > cp -f /usr/ports/www/redmine50/files/commonmark.rb<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d<br>> > > cd /usr/ports/www/redmine50/work/redmine-5.0.4 && /bin/sh -c<br>> > > '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1)<br>> &&<br>> > > /usr/bin/find -Ed $1 $3 \( -type d -exec /bin/sh -c '\''cd '\''$2'\''<br>> > > && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd<br>> > > '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE .<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine<br>> > > /usr/bin/touch<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/Gemfile.loc<br>> k<br>> > > cp -f /usr/ports/www/redmine50/files/markdown.rb<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d<br>> > > cp -f /usr/ports/www/redmine50/files/pg.rb<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d<br>> > > cp -f /usr/ports/www/redmine50/files/mini_magick.rb<br>> > > /usr/ports/www/redmine50/work/stage/usr/local/www/redmine/bundler.d<br>> > > (cd /usr/ports/www/redmine50/work/stage/usr/local/www/redmine &&<br>> > > /bin/rm -f Gemfile.lock && bundle install --local)<br>> > > /bin/sh: bundle: not found<br>> > > *** Error code 127<br>> > > <br> > > Stop.<br>> > > make[1]: stopped in /usr/ports/www/redmine50<br>> > > *** Error code 1<br>> > > <br> > > Stop.<br>> > > make: stopped in /usr/ports/www/redmine50<br>> > > <br> > > ===>>> make stage failed for www/redmine50<br>> > > ===>>> Aborting update<br>> > > _____________________________________________________________________<br>> __<br>> > > <br> > > ===>>> pkg-message for ruby-3.1.3_2,1<br>> > > On install:<br>> > > Some of the standard commands and libraries are provided as separate<br>> > > ports for ease of upgrading:<br>> > > <br> > > devel/ruby-gems: gem - RubyGems package manager<br>> > > devel/rubygem-debug: debug - Debugging functionality for Ruby<br>> > > devel/rubygem-erb: erb - Templating system for Ruby<br>> > > devel/rubygem-irb: irb - Interactive Ruby<br>> > > devel/rubygem-minitest: minitest - Complete suite of testing<br>> > > facilities<br>> > > devel/rubygem-power_assert: power_assert - Power Assert for Ruby<br>> > > devel/rubygem-rake: rake - Ruby Make<br>> > > devel/rubygem-rbs: rbs - Language for type signatures for Ruby and<br>> > > standard library definitions<br>> > > devel/rubygem-rdoc: rdoc - Ruby Documentation System<br>> > > devel/rubygem-test-unit: test-unit - Unit testing framework for Ruby<br>> > > devel/rubygem-typeprof: typeprof - Type analysis tool for Ruby code<br>> > > ftp/rubygem-net-ftp: net-ftp - Support for the File Transfer<br>> Protocol<br>> > > mail/rubygem-net-imap: net-imap - Ruby client api for Internet<br>> Message<br>> > > Access Protocol<br>> > > mail/rubygem-net-pop: net-pop - Ruby client library for POP3<br>> > > mail/rubygem-net-smtp: net-smtp - Simple Mail Transfer Protocol<br>> client<br>> > > library for Ruby<br>> > > math/rubygem-matrix: matrix - Implementation of Matrix and Vector<br>> > > classes<br>> > > math/rubygem-prime: prime - Prime numbers and factorization library<br>> > > sysutils/rubygem-bundler: bundler - Tool that manages gem<br>> dependencies<br>> > > for ruby applications<br>> > > textproc/rubygem-rexml: rexml - XML toolkit for Ruby<br>> > > www/rubygem-rss: rss - Family of libraries that support various<br>> > > formats of XML "feeds"<br>> > > <br> > > And some of the standard libraries are provided as separate ports<br>> > > since they require extra dependencies:<br>> > > <br> > > databases/rubygem-dbm: DBM module<br>> > > databases/rubygem-gdbm: GDBM module<br>> > > <br> > > Install them as occasion demands.<br>> > > <br> > > ===>>> Done displaying pkg-message files<br>> > > <br> > > _____________________________________________________________________<br>> __<br>> > > <br> > > ===>>> Upgrade of ruby-3.0.5,1 to ruby-3.1.3_2,1 complete<br>> > > <br> > > <br> > > ===>>> You can restart from the point of failure with this command<br>> > > line:<br>> > > portmaster <flags> www/redmine50 databases/rubygem-pg<br>> > > databases/postgresql13-client devel/rubygem-csv devel/rubygem-erb<br>> > > www/rubygem-cgi devel/rubygem-request_store devel/rubygem-rotp<br>> > > mail/rubygem-roadie-rails-rails61 mail/rubygem-roadie<br>> textproc/rubygem-<br>> > > css_parser net/rubygem-net-ldap print/rubygem-rbpdf print/rubygem-<br>> > > rbpdf-font textproc/rubygem-htmlentities textproc/rubygem-actionpack-<br>> > > xml_parser-rails61 textproc/rubygem-commonmarker<br>> textproc/rubygem-html-<br>> > > pipeline textproc/rubygem-psych devel/rubygem-stringio<br>> > > textproc/rubygem-redcarpet textproc/rubygem-rouge textproc/rubygem-<br>> > > sanitize www/rubygem-deckar01-task_list www/rubygem-rqrcode<br>> > > graphics/rubygem-chunky_png <br>> > > <br> > > This command has been saved to ~/portmasterfail.txt<br>> > > ```<br>> > > ---<br>> > > <br> > > i'm based on this tutorial:<br>> > > [https://forums.freebsd.org/threads/howto-redmine-nginx-passenger-postgresql.41256/](https://forums.freebsd.org/threads/howto-redmine-nginx-passenger-postgresql.41256/)<br>> > > <br> > > i could update the ports by the FreeBSD Porter's Handbook but in<br>> first<br>> > > i try to install manualy.<br>> > > _____________________________________________________________________<br>> __<br>> > > help me for debug please,<br>> > > best regards,<br>> > > white-wolf.<br>> > > <br> <br>