Skip to content

Instantly share code, notes, and snippets.

Kohei Hasegawa banyan

Block or report user

Report or block banyan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@banyan
banyan / gen.sh
Created Oct 10, 2011 — forked from kennyj/gen.sh
backbone.jsが利用できる状態でrailsプロジェクト生成 (rails3.1版 + MySQL)
View gen.sh
#!/bin/sh
# 'capybara-webkit' の依存性のため、qt をインストールする必要がある
# $ brew install qt
# railsプロジェクト作成して移動する
rails new "$1" --skip-test-unit --database=mysql
cd "$1"
# Gemfileに必要なgemを追記する
cat << HERE >> Gemfile
View init.d for MongoDB
#! /bin/sh
### BEGIN INIT INFO
# Provides: mongodb
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts the mongodb data-store
# Description: starts mongodb using start-stop-daemon
You can’t perform that action at this time.