Skip to content

Instantly share code, notes, and snippets.

View dnordstrom's full-sized avatar

Daniel Nordstrom dnordstrom

View GitHub Profile
@dnordstrom
dnordstrom / rails new asggifts -d mysql
Created December 29, 2011 16:01
rails new asggifts -d mysql
 create
 create README
 create Rakefile
 create config.ru
 create .gitignore
 create Gemfile
 create app
 create app/assets/images/rails.png
 create app/assets/javascripts/application.js
 create app/assets/stylesheets/application.css
== 1 =
Command: rails new asggifts -d mysql
Output: https://gist.github.com/1534716
source 'http://rubygems.org'
gem 'rails', '3.1.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
gem 'spree', '1.0.0rc', :git => 'git://github.com/spree/spree.git'
@dnordstrom
dnordstrom / gist:1536797
Created December 30, 2011 00:00
Command line progress of Spree upgrade/migration
##
# Command line logging during Spree 0.11 to 1.0.0.rc1 migration.
# (Skipping source control commands.)
##
Sites
> rvm gemset create asgseedbank-1.0.0rc
Sites
> rvm gemset use asgseedbank-1.0.0rc
source 'http://rubygems.org'
gem 'rails', '3.1.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
gem 'spree', :git => 'git://github.com/spree/spree.git', :tag => '1.0.0rc'
source 'http://rubygems.org'
gem 'rails', '3.1.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
gem 'spree', :git => 'git://github.com/spree/spree.git', :tag => 'v1.0.0.rc1'
> rails s
git://github.com/spree/spree.git (at v1.0.0.rc1) is not checked out. Please run `bundle install`
-- MySQL dump 10.13 Distrib 5.5.15, for osx10.7 (i386)
--
-- Host: localhost Database: asgseedbank
-- ------------------------------------------------------
-- Server version 5.5.15
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- MySQL dump 10.13 Distrib 5.5.15, for osx10.7 (i386)
--
-- Host: localhost Database: asgseedbank
-- ------------------------------------------------------
-- Server version 5.5.15
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
# See http://help.github.com/ignore-files/ for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# Ignore bundler config
/.bundle
# Ignore the default SQLite database.