Setup MacOS 10.11 El Capitan Discussion
Stop confusing people, there is a big problems with homebrew and El Capitan
If it had any problems before, it does not have any problems now.
Homebrew is brewing fine with El Capitan!
Yes, the issues were due to OS X El Capitan's new feature called System Integrity Protector. I have outlined a quick and easy fix here - http://digitizor.com/2015/1...
I don't see any issues with homebrew, brew install // brew cask install etc and El Capitan
Thanks. This worked great. The one thing I did find is that after installing mysql I rebooted as I could not invoke mysql at the command line. Other than that works great! Thanks!
hello, when i do ruby -v i get 2.0.0 but when i do rbenv version i get 2.2.3 is that ok?
it seems that you already tryed to install ruby via brew... try "brew uninstall ruby". i had the same problem, after that i got right ruby version
Cool it works for me now!
What do I need to do to change the password if the user is my computers username? And how to turn it on/off when I want to?
Is there a PrefPane for Postgresql in Mac OS like the Mysql one? I don't want the server runs at start up
Instead of homebrew you could use http://postgresapp.com/ which only runs when you launch the app.
i am facing a problem while installing Rail (gem install rails -v 4.2.4)
its shows an error like while executing gem ... (Errno::EACCES)
Permission denied - /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.6.2/.autotest
in the terminal
any one suggest me a solution
I don't know the benefit to using rbenv vs rvm but I uninstalled Rbenv, bc I was having similar issues. Installed RVM and everything is working.
It looks like either rbenv isn't installed properly, e.g. missing from your .profile or .bashrc or whatever, or it's installed but you haven't told it to use a ruby version other than your system ruby (which would install to /Library/Ruby and require sudo permissions). Install another ruby with the rbenv ruby-build plugin (also available through homebrew) and use rbenv local to switch a particular project directory to use that ruby version (it creates a .ruby-version file in the directory).
I'm having difficulties on El Capitan. I'm following the instructions here. But I'm stuck on the last step here.
The command "rails server", is returning an error.
"Could not find pg-0.18.3 in any of the sources
Run `bundle install` to install missing gems."
I have ran "bundle install" and when I try to run "rails server", I get the same error again.
Worked perfectly for me on El Capitan 10.11.
I always get this error message, when I open this local host web page:
Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
The only thing that worries me is that I have to use "sudo" for the installation. I'm hoping this is understood, and not included for clarity.
You shouldn't ever have to use sudo for this. If you do, you're going to end up with permissions errors later on. Homebrew might in order to change permissions for some of its own folders where you install apps from, but the rest of it shouldn't ever use sudo.
If you have XCode installed then run this BEFORE you try to install rails (or you'll keep running into errors):
xcode-select --install
I took this from: http://stackoverflow.com/qu...
I forgot to add what's going on. You need the command line tools and that's what this installs.
I ran the rails app and it doesn't seem to have any errors but when I go to the "localhost:3000" site, it tells me that, "This webpage is not available." Is there any other way to see if the database actually ran? Thanks.
I upgraded to El Capitan with homebrew already installed. I found that I had to remove the old version of homebrew and then reinstall it, run brew doctor (correct any errors) and then I was good to go!
I tried doing this a few weeks ago and ended up messing up the bash file. Fast forward to know, when I go to do the first step the first thing I get is:
"-bash: l: command not found"
can I reset the "bash"? I am quite new to this and not sure how to properly use the terminal.
Thanks in advance for any advice
Hello.
When visit localhost:3000
I'm greeted with error: Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
I'm a new user, and not sure how to proceed.
Was able to find a fix via http://stackoverflow.com/qu...
SOLUTION:
It's currently an issue with Rails 4.1.x and 4.2.x, per this bug report, it will be fixed in the next release of rails 4.2.x (credit to dcorr in comments for the link).
In the mean time you can fix by doing downgraded to version 0.3.18 of mysql2 by adding this line to your gemfile:
gem 'mysql2', '~> 0.3.18'
I'm having an issue with
# Load rbenv automatically by adding
# the following to your profile:
eval "$(rbenv init -)"
popping up every time I open up iTerm/Terminal
There's a bug I encountered when following the instructions for setting up with mysql. Wrote the fix steps at http://blog.redditech.com/p... (really just need to update RubyGems and then run 'gem update' to upgrade to rails 2.4.5, which I think fixes the issue)