Skip to content

Instantly share code, notes, and snippets.

@ashikawa
Last active August 29, 2015 13:58
Show Gist options
  • Save ashikawa/10106705 to your computer and use it in GitHub Desktop.
Save ashikawa/10106705 to your computer and use it in GitHub Desktop.
Mac x RoR x Spree

OSX Mavericks v10.9.2

gem search -r rails
gem install rails

gem install rails -v 4.0.4
gem install spree
gem install spree_cmd
rails new my_store

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install json -v '1.8.1'
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install nokogiri -v '1.6.1'
sudo gem install activemerchant
sudo gem install acts_as_list -v '0.3.0'
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install bcrypt -v '3.1.7'
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install sqlite3 -v '1.3.9'
sudo bundle install

spree install my_store

echo "gem 'money', '6.0.1'" >> Gemfile

sudo gem install monetize -v '0.1.4'
sudo gem install money -v '6.0.1'

bundle update money

rails s 

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment