I have properly setup homebrew and Ruby Version 2.3.1 following this site https://gorails.com/setup/osx/10.11-el-capitan . However, when I tried to install Rails or other ruby gems I have gotten this error -
sudo gem install rails
Building native extensions. This could take a while...
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
I've tried searching for the answer here on the forum but couldn't find a solution. Any help would be appreciated.
Back in the days i would get errors while installing Rails aswell, but nowadays we have Installrails.com
I have never encountered any errors while following the tutorials on that site. You might want to give that a try.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.