Alvaro,

You are a genius!
It worked. <https://askubuntu.com/questions/376199/sudo-su-vs-sudo-i-vs-sudo-bin-bash-when-does-it-matter-which-is-used>
Really appreciate your help.

Thank you so much.

On 9/30/2017 7:49 PM, Alvaro Miranda Aguilera wrote:
the error is the user vagrant doesnt have access to install gems into /var/lib/gems

try to become root with
sudo su -

and try again


On Sat, Sep 30, 2017 at 8:10 PM, Anthony Alvarez <pucho...@gmail.com <mailto:pucho...@gmail.com>> wrote:

    Hello,

    *Got inspiration to use Vagrant from a YouTube Video
    <https://www.youtube.com/watch?v=0kNOrgTuQsE>* but instead of
    "Ruby installer for Windows" wanted to use vagrant.

    The question is about installing ASCIIdoctor
    <http://asciidoctor.org/>, which is a Ruby Gem, on a Vagrant box
    called "cargomedia
    <https://app.vagrantup.com/cargomedia>/debian-7-amd64-default
    <https://app.vagrantup.com/cargomedia/boxes/debian-7-amd64-default>."
    ASCIIdoc installation cannot complete due to file permissions
    error below.

    |
    vagrant@debian-7-amd64-default:~$ gem install asciidoctor
    ERROR:Whileexecuting gem ...(Errno::EACCES)
    Permissiondenied -/var/lib/gems

    |

    *Questions*

     1. How to choose the best Vagrant box for ASCIIdoc installatio?
     2. What is vagrant super user password? Is it needed to install
        ASCIIdoctor gem?
     3. Is Oracle VM VirtualBox <https://www.virtualbox.org/>
        installation separate from Vagrant? For example: if Vagrant is
        updated does VirtualBox automatically update or does
        VirtualBox have to be updated manually?
     4. How to change the vagrant name of "Default" to actual name of
        the vagrant box being used which is
        "cargomedia/debian-7-amd64-default?"

    *See screenshots <https://photos.app.goo.gl/dN7N4ZBHGtJZTnL73>

    Software being used Versions*

      * OS: Windows 10x64
      * GIT Bash terminal: GIT version 2.9.0.windows.1
      * Vagrant: v2.0.0
      * Virtual Box: 5.1.14 r112924

    Any suggestions and tips greatly appreciated.

    Thank you.

    Anthony
-- This mailing list is governed under the HashiCorp Community
    Guidelines - https://www.hashicorp.com/community-guidelines.html
    <https://www.hashicorp.com/community-guidelines.html>. Behavior in
    violation of those guidelines may result in your removal from this
    mailing list.

    GitHub Issues: https://github.com/mitchellh/vagrant/issues
    <https://github.com/mitchellh/vagrant/issues>
    IRC: #vagrant on Freenode
    ---
    You received this message because you are subscribed to the Google
    Groups "Vagrant" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to vagrant-up+unsubscr...@googlegroups.com
    <mailto:vagrant-up+unsubscr...@googlegroups.com>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/vagrant-up/09e1136d-9177-4189-a4c7-3634f88e7d2c%40googlegroups.com
    
<https://groups.google.com/d/msgid/vagrant-up/09e1136d-9177-4189-a4c7-3634f88e7d2c%40googlegroups.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.




--
Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to a topic in the Google Groups "Vagrant" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/vagrant-up/EsAddoBU6YY/unsubscribe. To unsubscribe from this group and all its topics, send an email to vagrant-up+unsubscr...@googlegroups.com <mailto:vagrant-up+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyMAfTOqAxqPnm01P2S_GErM%3D-TR2BgO2AV1yQfUHOAKg%40mail.gmail.com <https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyMAfTOqAxqPnm01P2S_GErM%3D-TR2BgO2AV1yQfUHOAKg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/62b209ae-809f-f800-137e-a4d8582a921f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to