Skip to content

Mailcatcher fails to install with and without RVM #560

@chrispelzer

Description

@chrispelzer
  1. If RVM is installed, $(which rvm) is never found, resulting in the non-rvm install
  2. Mailcatcher dependency for all gem versions of mime-types-data requires ruby 2.0.0+
==> Vaprobash: >>> Installing Ruby Version Manager and installing latest stable Ruby version
==> Vaprobash: Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
==> Vaprobash: Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
==> Vaprobash: GPG verified '/home/vagrant/.rvm/archives/rvm-1.27.0.tgz'
==> Vaprobash: Installing RVM to /home/vagrant/.rvm/
==> Vaprobash:     Adding rvm PATH line to /home/vagrant/.profile /home/vagrant/.mkshrc /home/vagrant/.bashrc /home/vagrant/.zshrc.
==> Vaprobash:     Adding rvm loading line to /home/vagrant/.profile /home/vagrant/.bash_profile /home/vagrant/.zlogin.
==> Vaprobash: Installation of RVM in /home/vagrant/.rvm/ is almost complete:
==> Vaprobash:   * To start using RVM you need to run `source /home/vagrant/.rvm/scripts/rvm`
==> Vaprobash:     in all your open shell windows, in rare cases you need to reopen all shell windows.
==> Vaprobash: #
==> Vaprobash: #   Thank you for using RVM!
==> Vaprobash: #   We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
==> Vaprobash: #
==> Vaprobash: # ~Wayne, Michal & team.
==> Vaprobash: In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
==> Vaprobash: rvm 1.27.0 (latest) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]
==> Vaprobash: Searching for binary rubies, this might take some time.
==> Vaprobash: Found remote file https://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.3.0.tar.bz2
==> Vaprobash: Checking requirements for ubuntu.
==> Vaprobash: Installing requirements for ubuntu.
==> Vaprobash: Updating system
==> Vaprobash: .........
==> Vaprobash: Installing required packages: libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgmp-dev, libgdbm-dev, libncurses5-dev, automake, libtool, bison, pkg-config, libffi-dev
==> Vaprobash: ...............
==> Vaprobash: Requirements installation successful.
==> Vaprobash: ruby-2.3.0 - #configure
==> Vaprobash: ruby-2.3.0 - #download
==> Vaprobash: ruby-2.3.0 - #validate archive
==> Vaprobash: ruby-2.3.0 - #extract
==> Vaprobash: ruby-2.3.0 - #validate binary
==> Vaprobash: ruby-2.3.0 - #setup
==> Vaprobash: ruby-2.3.0 - #gemset created /home/vagrant/.rvm/gems/ruby-2.3.0@global
==> Vaprobash: ruby-2.3.0 - #importing gemset /home/vagrant/.rvm/gemsets/global.gems
==> Vaprobash: ....................................
==> Vaprobash: ruby-2.3.0 - #generating global wrappers
==> Vaprobash: ........
==> Vaprobash: ruby-2.3.0 - #gemset created /home/vagrant/.rvm/gems/ruby-2.3.0
==> Vaprobash: ruby-2.3.0 - #importing gemsetfile /home/vagrant/.rvm/gemsets/default.gems evaluated to empty gem list
==> Vaprobash: ruby-2.3.0 - #generating default wrappers
==> Vaprobash: ........
==> Vaprobash: Creating alias default for ruby-2.3.0
==> Vaprobash: ...
==> Vaprobash:   * To start using RVM you need to run `source /home/vagrant/.rvm/scripts/rvm`
==> Vaprobash:     in all your open shell windows, in rare cases you need to reopen all shell windows.
==> Vaprobash: Running provisioner: shell...
    Vaprobash: Running: /var/folders/gg/nmnkdd7x0vv02w7qpcj1stwc0000gn/T/vagrant-shell20160621-78886-1joo4gz.sh
==> Vaprobash: stdin: is not a tty
==> Vaprobash: >>> Installing Mailcatcher
==> Vaprobash: dpkg-preconfigure: unable to re-open stdin: No such file or directory
==> Vaprobash: Selecting previously unselected package ruby1.9.1-dev.
==> Vaprobash: (Reading database ... 68599 files and directories currently installed.)
==> Vaprobash: Preparing to unpack .../ruby1.9.1-dev_1.9.3.484-2ubuntu1.2_amd64.deb ...
==> Vaprobash: Unpacking ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> Vaprobash: Setting up ruby1.9.1-dev (1.9.3.484-2ubuntu1.2) ...
==> Vaprobash: Building native extensions.  This could take a while...
==> Vaprobash: Building native extensions.  This could take a while...
==> Vaprobash: ERROR:  Error installing mailcatcher:
==> Vaprobash:  mime-types-data requires Ruby version >= 2.0.
==> Vaprobash: description "Mailcatcher"
==> Vaprobash:
==> Vaprobash: start on runlevel [2345]
==> Vaprobash: stop on runlevel [!2345]
==> Vaprobash:
==> Vaprobash: respawn
==> Vaprobash:
==> Vaprobash: exec /usr/bin/env  --foreground --http-ip=0.0.0.0
==> Vaprobash: mailcatcher start/running, process 18186
==> Vaprobash: sendmail_path = /usr/bin/env
==> Vaprobash: php5-fpm stop/waiting
==> Vaprobash: php5-fpm start/running, process 18275
==> Vaprobash:  * Restarting Apache httpd web server apache2
==> Vaprobash:    ...done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions