osx - Best install flow for a new rvm/ruby/pg/rails setup -


i've reformatted mac mountain lion machine due lots errors in rails development, broken links, outdated versions, etc, etc. i'm trying install rvm, ruby, postgresl , rails. i've installed xcode command line tools , i'm looking recommendations on order install rest reduce likelihood 1 can't find other.

should install homebrew before of these? i've read rvm has new package manager of stuff, install homebrew - , not being unix expert appealing. have experience this?

also recommend installing postgres before rvm or after rvm/ruby/rails set up?

  1. xcode command line tools
  2. homebrew
  3. git
  4. rvm
  5. ruby
  6. rails
  7. postgres

you may @ point warning form nokogiri being built 1 version of libxml dynamically loaded another. pretty stuck whatever version being dynamically linked because macos depends on , loaded during boot , nokogiri needs dynamically linked. if starting new mountain lion should ok. if not, there dozens of variations of solutions amount compiling nokogiri against whatever version of libxml have in os. need if run problem @ point

bundle exec gem pristine nokogiri 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -