Upgrade to yosemite
By Peter Florijn -
Introduction¶
After upgrading to Yosemite, I found out that my ruby projects were not working any more. It seemed a number of commands, (f.i.brew) , were pointng at ruby 1.8. This version was removed in Yosemite.
Update rvm¶
rvm get stable
Fix brew¶
Changing 1.8 in Current in brew.rb made brew working again.
Change
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0
to
#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0
Ruby¶
In order to make some of my projects work again I had to install a different Ruby version.
Installing it only with
rvm install
resulted in errors that it could not compile.
This fixed it
rvm install ruby-1.9.3 --with-gcc=clang
Bugzilla / perl¶
Symptom:
My local Bugzilla installation does not work anymore.
Cause:
Apple has overwritten the /etc/apache2/httpd.conf.
Add your Bugzilla settings.
<Directory "/Library/WebServer/bugzilla-trunk">
AddHandler cgi-script .cgi .pl Options +Indexes +ExecCGI +FollowSymLinks DirectoryIndex index.cgi index.html AllowOverride Limit FileInfo Indexes Options Order allow,deny Allow from all
Symptom:
Attempt to reload JSON/XS.pm aborted.
Solution:
I emptied out the lib folder and ran
./install-module.pl —all
and it fixed the issue.
Bugzilla 4.5.6 introduces Mysql SSL certificates.
Extra parameters are added to the localconfig.
Info
I have to find out how to configure this