Skip to main content

Setup MacOS 10.13 High Sierra Discussion

General • Asked by Chris Oliver

It Works!! Thanks!
High Sierra 10.13.1 (Beta)


it is great work for me On mac High serria


I am facing the below error while trying to install rails :
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

sudo gem install whatever_gem_to_install

You should never use sudo to install gems. If you get permission denied, you didn't get Ruby installed correctly and should go through those steps again.

gem install rails -v 5.1.4 --user-install
You should try runnig `rbenv init`  before running the `gem install whatever` and also I suggest you to add it to your shell loading script.

You might forgot this step:

rbenv install 2.5.1
rbenv global 2.5.1


Tks! It Works!!!!


Hi. I am trying to follow these directions but get the error

error: error reading '/dev/fd/9'
1 error generated.
clang: error: unable to remove file: Operation not permitted
dtrace: failed to compile script probes.d: Preprocessor failed to process input program

I am running OSX 10.13.3.

I found a recommended work around here: https://github.com/rbenv/ru..., but it doesn't seem work fix the problem for me.


Thank you so much. You're a lifesaver...

I created an account because I wanted to thank you! Works great! (10.13.3)

I  got a problem with: An error occurred while installing sqlite3 (1.3.13), and Bundler cannot
continue.
Make sure that `gem install sqlite3 -v '1.3.13'` succeeds before bundling.
while after I run 'bundle install', it shows that below: 
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.

I had the same problem. Based on this thread https://github.com/sparklemotion/sqlite3-ruby/issues/152, I removed all my sqlite installs with "brew uninstall --force sqlite" and then installed sqlite3 v 1.3.13 with using Ruby instead: "gem install sqlite3 -v '1.3.13'" Now I can at least build a default app successfully: "rails new myapp"

So I followed these directions to a T, and when I try to go to the site (localhost:3000) causes rails server to stop, and spits out an generic error Abort trap: 6. I go to the log file and there is no file, but there is a ton of text above the error. What gives?


Thank you , this guide is quite easy and straigtforward. Process is done


I was able to get everything working with the exception of connection to my GITHUB account. I am receiving the following error when connecting... Permission denied (publickey). Any ideas on how to resolve?


Hi when i run the 'Final steps' which starts with rails new my app . i get in red conflict .gitignore on the terminal. also when i run the local host 3000 link on safari it says safari can't connect to the server.

rails new myapp -d mysql

If you want to use Postgres

Note you will need to change config/database.yml's username to be

the same as your OSX user account. (for example, mine is 'chris')

rails new myapp -d postgresql

Move into the application directory

cd myapp

If you setup MySQL or Postgres with a username/password, modify the

config/database.yml file to contain the username/password that you specified

Create the database

rake db:create

rails server
exist

identical README.md
identical Rakefile
identical .ruby-version
identical config.ru
conflict .gitignore
Overwrite /Users/owner/myapp/.gitignore? (enter "h" for help) [Ynaqdhm]


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.