Skip to content

Instantly share code, notes, and snippets.

@shu0115
shu0115 / gist:2367193
Created April 12, 2012 13:24
Error installing pg gem in Mac OS X
$ bundle install
----------------------------------------------------------------------------------------------------
Installing pg (0.13.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/raisondetre0115/.rvm/rubies/ruby-1.9.3-p125/bin/ruby extconf.rb
checking for pg_config... no
No pg_config... trying anyway. If building fails, please try again with
--with-pg-config=/path/to/pg_config
checking for libpq-fe.h... no
/* Example tokeninput style #1: Token vertical list*/
ul.token-input-list {
overflow: hidden;
height: auto !important;
height: 1%;
width: 400px;
border: 1px solid #999;
cursor: text;
font-size: 12px;
font-family: Verdana;
y - 処理中の hunk を索引に追加します。
n - 処理中の hunk を索引に追加しません。
q - 終了します。処理中の hunk およびそれ以降の hunk は索引に追加しません。
a - 処理中の hunk およびそれ以降のファイル中の hunk を索引に追加します。
d - 処理中の hunk およびそれ以降のファイル中の hunk を索引に追加しません。
g - 処理対象となる(別の) hunk を選択します。
/ - 入力した正規表現にマッチする hunk を検索します。
j - 処理中の hunk を保留にし、次の保留されている hunk を表示します。
J - 処理中の hunk を保留にし、次の hunk を表示します。
@shu0115
shu0115 / file0.txt
Last active September 12, 2017 06:09
Herokuのメリット、デメリット ref: http://qiita.com/shu_0115/items/0106198f7a0be2f2a509
=== APP-NAME Releases
v50 Deploy 45de3e3 xxxxxxxxxx@gmail.com 2014/11/25 17:37:55 (~ 27m ago)
v49 Deploy ff3082d xxxxxxxxxx@gmail.com 2014/11/25 16:49:20 (~ 1h ago)
v48 Deploy 0508f80 xxxxxxxxxx@gmail.com 2014/11/25 14:05:57 (~ 3h ago)
v47 Deploy cfed7f8 xxxxxxxxxx@gmail.com 2014/11/25 13:44:55 (~ 4h ago)
v46 Deploy e847a65 xxxxxxxxxx@gmail.com 2014/11/25 12:27:30 (~ 5h ago)
v45 Deploy 0848019 xxxxxxxxxx@gmail.com 2014/11/25 12:14:57 (~ 5h ago)
v44 Deploy 5a5b056 xxxxxxxxxx@gmail.com 2014/11/25 11:56:16 (~ 6h ago)
v
@shu0115
shu0115 / file0.txt
Created December 16, 2012 05:20
Mac OS X 10.8.2 + Homebrew + Git + rbenv + Ruby + Rails + Heroku ref: http://qiita.com/items/371c3f8d46cca8589725
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
----------
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press ENTER to continue or any other key to abort
★ENTER
==> /usr/bin/sudo /bin/mkdir /usr/local
Task.all.class.name
=> "ActiveRecord::Relation"
heroku pg:info
brew update
----------
First, rewinding head to replay your work on top of it...
Fast-forwarded master to e126ec926b38ccfcc7c46d3ba32b85afd1ba63d2.
Current branch master is up to date.
Updated Homebrew from f47755f3 to e126ec92.
----------
==> Deleted Formulae
aimage cmucl darner jscoverage lmutil mlxcc nlopt
@shu0115
shu0115 / file0.txt
Created December 9, 2013 05:45
RailsAdminセットアップ on Rails4 and Heroku ref: http://qiita.com/shu_0115/items/a0af5bc8dc6ff004544a
ruby -v
----------
ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin12.5.0]
----------
gem 'angularjs-rails'