Created
February 13, 2011 08:14
-
-
Save nelsonenzo/824539 to your computer and use it in GitHub Desktop.
trials and tribulations of setting up a new ruby/rails env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcode (~4gb, 2+ hour download, 20 minute install ) | |
macports - http://www.macports.org/install.php | |
imagemagick - using install statement from rmagick: http://rmagick.rubyforge.org/install-osx.html | |
sudo port install tiff -macosx imagemagick +q8 +gs +wmf | |
can take over 2 hours to install !!!! | |
git - http://code.google.com/p/git-osx-installer/downloads/list?can=3 (selected *x86_64-leopard.dmg) | |
rmagic (also uses the sudo gem install rmagick from the rmagick instructions) | |
mysqlserver | |
rvm | |
bundler - gem install bundler | |
textmate | |
go to file bundle | |
railscast view bundle | |
cyberduck | |
growl | |
gitk | |
p4merge | |
sequalpro | |
firefox | |
chrome | |
outlook 2011 | |
aim | |
skype | |
littlesnitch | |
photoshop | |
patch required for version_requirement error: | |
curl https://github.com/rails/rails/commit/268c9040d5c3c7ed30f3923eee71a78eeece8a8a.diff | sudo patch -d /Users/nelson/.rvm/gems/ruby-1.8.7-p330/gems/rails-2.3.5/lib/rails/ | |
MySQL Gem Issues | |
Used this method for mysql gem install (note version 2.7, the newer mysql gem does NOT work) | |
source:http://accidentaltechnologist.com/apple/fixing-uninitialized-constant-mysqlcompatmysqlres-error-on-snow-leopard/ | |
$ export ARCHFLAGS="-arch i386 -arch x86_64" ;sudo gem install --no-rdoc --no-ri -v=2.7 mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config | |
than I had to use this command: | |
source: http://stackoverflow.com/questions/4546698/library-not-loaded-libmysqlclient-16-dylib-error-when-trying-to-run-rails-serve | |
$ sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib ~/.rvm/gems/ruby-1.8.7-p330/gems/mysql-2.7/lib/mysql.bundle | |
-OR- on my laptop (same as above, slightly modified): | |
$ sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib ~/.rvm/gems/ruby-1.8.7-p299/gems/mysql-2.7/lib/mysql.bundle | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment