OSX doesn't have apt-get. You should use brew 
instead,http://stackoverflow.com/questions/19688424/why-is-apt-get-function-not-working-in-terminal-on-mac-osx-10-9,
 but 
this can occasionally have different installation instructions. Make sure 
you are installing MySQL correctly for Mac.

On Wednesday, August 6, 2014 11:18:14 AM UTC-6, Michael Sutyak wrote:
>
> I'm pretty sure I installed everything required.  What could be missing on 
> Mac OS X?
>
> On Wednesday, August 6, 2014 12:01:53 AM UTC-7, Colin Law wrote:
>>
>> On 5 August 2014 23:53, Michael Sutyak <msu...@gmail.com> wrote: 
>> > I am trying to initialize a rails application, and I am running into 
>> some 
>> > issues. When running: rails new . -m 
>> > https://raw.github.com/RailsApps/rails-composer/master/composer.rb 
>> > 
>> > I run into the issue: 
>> > 
>> > Could not find gem 'quiet_assets (>= 0) ruby' in the gems available on 
>> this 
>> > machine. 
>> > Run `bundle install` to install missing gems. 
>> > 
>> > When I try to run bundle install, it gives me this error: 
>> > 
>> > An error occurred while installing mysql2 (0.3.16), and Bundler cannot 
>> > continue. 
>> > Make sure that `gem install mysql2 -v '0.3.16'` succeeds before 
>> bundling. 
>> > 
>> > When I run that command, I get: 
>> > 
>> > ERROR:  Error installing mysql2: 
>> >     ERROR: Failed to build gem native extension. 
>>
>> You probably have not installed everything that is necessary for 
>> building gem native extensions.  What you need depends on which OS you 
>> are using.  For example, on Ubuntu, I do 
>>
>> sudo apt-get install build-essential bison openssl libreadline6 
>> libreadline6-dev curl git-core \ 
>> zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf 
>> libc6-dev ncurses-dev automake \ 
>> libtool 
>>
>> Colin 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/026558b5-009a-4b0b-a4cc-0bc11a9396a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to