Ask A Question

Notifications

You’re not receiving notifications from this thread.

Setup MacOS 10.13 High Sierra Discussion

Chris Oliver asked in General

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

Reply
Rabnawaz Khan Rabnawaz Khan

it is great work for me On mac High serria

Reply
Nisha Bhanushali Nisha Bhanushali

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.

Reply
Alejandro Reyna Alejandro Reyna

sudo gem install whatever_gem_to_install

Reply
gem install rails -v 5.1.4 --user-install
Reply
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.
Reply

You might forgot this step:

rbenv install 2.5.1
rbenv global 2.5.1

Reply

Tks! It Works!!!!

Reply
greggbrookline greggbrookline

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.

Reply
Thank you so much. You're a lifesaver...
Reply
I created an account because I wanted to thank you! Works great! (10.13.3)
Reply
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.

Reply
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"
Reply

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?

Reply

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

Reply

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?

Reply

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]

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,160+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.