Ask A Question

Notifications

You’re not receiving notifications from this thread.

installation of rails in ubuntu 18.04 at windows 11

mamatha asked in Rails

$ asdf install ruby 3.0.0
To follow progress, use 'tail -f /tmp/ruby-build.20230709161531.2745.log' or pass --verbose
Downloading ruby-3.0.0.tar.gz...
Installing ruby-3.0.0...
BUILD FAILED (Ubuntu 18.04 using ruby-build 20230615)
Inspect or clean up the working tree at /tmp/ruby-build.20230709161531.2745.fUeQuZ
Results logged to /tmp/ruby-build.20230709161531.2745.log
Last 10 log lines:
installing bundled gem cache: /home/mammu/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/cache
The Ruby zlib extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Try running apt-get install -y zlib1g-dev to fetch missing dependencies.
$ apt-get install -y zlib1g-dev
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Reply

please help me

Reply

Good job! You can do it.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,400+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.