Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile

后端 未结 2 1464
走了就别回头了
走了就别回头了 2020-12-06 05:58

I have seen a number of posts on this before and have followed their instructions but nothing is working. I\'ll outline below what I have done, and the instructions I have f

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-06 06:48

    This is a bug in RailsInstaller OSX 1.0.3 - https://github.com/railsinstaller/railsinstaller-nix/issues/10

    you need to change /etc/rvmrc to contain this:

    umask g+w
    export -a rvm_configure_env
    rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')
    

    I will prepare new version of the installer when binary ruby is available for 2.0.0.

    UPDATE: for new version of RVM 1.19+ /etc/rvmrc should be changed to:

    umask g+w
    export rvm_autolibs_flag=smf
    

    And run rvm get stabel #OR: head

提交回复
热议问题