Problem with RVM installation - port cannot be executed (autoconf)

I am trying to install Jekyll on an OSX mountain lion. First of all, I wanted to install RVM, and then the last ruby. However, installing RVM does not work, and I cannot solve this problem. Any help appreciated

Here is what I did:

  • OSX Command Line Tools Installed
  • An attempt to install RVM ( \curl -L https://get.rvm.io | bash -s stable --ruby ), but with an error in the error log: Error: Install Xcode and / or run xcode-select to indicate it location. "
  • Installed Xcode to find out if this helps (now I could use xcode-select oh well)
  • Trying to install RVM again, but it failed again, see error message below

The last lines of the installation output, including the error:

Installing the necessary packages: autoconf, automake, libtool, pkgconfig, apple-gcc42, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, openssl, curl-ca-bundle, sqlite3, zlib, gdbm, ncurses ...

Error starting 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig apple-gcc42 libiconv libyaml libffi readline libxml2 libxslt libksba openssl curl-ca-bundle sqlite3 zlib gdbm ncurses', read /Users/xxx/.rvm/log/1371125385_package_install_autoconf_automake_libtool_pkgconfig_apple-gcc42_libiconv_libyaml_libffi_readline_libxml2_libxslt_libksba_openssl_curl-ca-bundle_sqlite3_zlib_gdbm_ncurses. log

I opened the error log and it says:

Error: port cannot be executed: file could not be opened: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/autoconf/Portfile

This is probably obvious to someone else, but to be honest, I'm not sure what I should do to fix it!

+3
ruby rvm macos
Jun 13 '13 at 12:23
source share
1 answer

Installing homebrew and then starting rvm autolibs brew , then rvm requirements fixed my problem. Then I was able to install the last ruby ​​( rvm install 2.0.0-p195 ).

I still think I'm very tired, I installed Xcode, rvm, homebrew and ruby ​​only to create a static html site :-)

+10
Jun 13 '13 at 13:44 on
source share



All Articles