Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluentd-ui start command gives error - bundler: failed to load command: rackup #447

Open
avi-git-lab opened this issue Feb 16, 2024 · 2 comments

Comments

@avi-git-lab
Copy link

Hi Team,
I am getting below error after executing "fluentd-ui start" command.

$ fluentd-ui start
bundler: failed to load command: rackup (/home/avi/.rbenv/versions/3.3.0/bin/rackup)
/home/avi/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/activesupport-5.2.8.1/lib/active_support/core_ext/module/delegation.rb:156:in `delegate': Delegation needs a target. Supply an options hash with a :to key as the last argument (e.g. delegate :hello, to: :greeter). (ArgumentError)

  raise ArgumentError, "Delegation needs a target. Supply an options hash with a :to key as the last argument (e.g. delegate :hello, to: :greeter)."

I have below configuration in my setup

  1. OS details
    OS: Ubuntu 23.10

ufw status

Status: inactive

sestatus

SELinux status: disabled

  1. Ruby installation-
    I installed ruby using below sequential commands-

sudo apt update
sudo apt install git curl autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
rbenv install 3.3.0
rbenv global 3.3.0
export PATH=$HOME/.rbenv/versions/3.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]

cd $HOME/.rbenv/versions/3.3.0/bin
gem update builder
gem update --system

  1. fluentd-ui Installation -
    gem install -V fluentd-ui
    fluentd-ui setup

  2. start fluentd-ui
    fluentd-ui start
    At this command I am getting above mentioned error.

  3. Troubleshooting efforts -
    a> Tried by uninstalling and re-installing fluentd-ui
    gem uninstall fluentd-ui
    gem install fluentd-ui
    b> Tried installation using above steps 01 to 04 on ubuntu 20.04,22.04,23.10
    But the faced the same error.

I have never worked in Ruby development hence not able to fix the issue.
Kindly help.
fluentd-ui start error.txt

@butschi84
Copy link

Same problem here. But it seems this project is no longer maintained and i have no clue about ruby so I wouldn't use it.

@abbasimo
Copy link

Same problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants