I got error message when installing ruby 2.3.1 using rbenv. My environment is below.
- MacOS 10.10.5
- rbenv 1.0.0
The log message is below.
$ rbenv install 2.3.1
...
Last 10 log lines:
compiling enc/unicode.c
compiling enc/utf_8.c
compiling enc/trans/newline.c
linking miniruby
generating encdb.h
make: ./miniruby: Permission denied
make: ./miniruby: Permission denied
make: *** [.rbconfig.time] Error 1
make: *** Waiting for unfinished jobs....
make: *** [encdb.h] Error 1
If you get the same error, would you please tell me how to solve this error?
Thank you for your help.