This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: http://rubygems.org/ | |
specs: | |
activesupport (4.2.4) | |
i18n (~> 0.7) | |
json (~> 1.7, >= 1.7.7) | |
minitest (~> 5.1) | |
thread_safe (~> 0.3, >= 0.3.4) | |
tzinfo (~> 1.1) | |
addressable (2.3.8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a.afilink{ | |
font-weight: bold; | |
font-size: 150%; | |
color: #0000ff !important; | |
text-decoration: underline; | |
} | |
a.afilink:visited { color: #000080 !important; } | |
a.afilink:hover { color: #ff0000 !important; } | |
a.afilink:active { color: #ff8000 !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
script result.log | |
do something | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
models = %w(Theme Entry Vote Activity Feed Follow Notification Authentication) | |
models.each do | model | | |
model.constantize.all.each do | obj | | |
if obj.user.nil? | |
puts "User #{obj.user_id} doesn't exist. So destroy #{model} #{obj.id}" | |
obj.destroy | |
end | |
end | |
end | |
Follow.all.each do | obj | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-06-23T08:08:36+00:00] INFO: Report handlers complete | |
--- | |
[2015-06-23T08:08:38+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current | |
One version per cookbook | |
data_bags at /var/lib/aws/opsworks/data/data_bags | |
nodes at /var/lib/aws/opsworks/data/nodes | |
[2015-06-23T08:08:38+00:00] INFO: Forking chef instance to converge... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-06-23T06:29:40+00:00] INFO: sudo su - deploy -c 'cd /srv/www/inq/releases/20150623062934 && /usr/local/bin/bundle install --path /home/deploy/.bundler/inq --without=test development' | |
================================================================================ | |
Error executing action `deploy` on resource 'deploy[/srv/www/inq]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails admin はなぜか一般ユーザ用のログイン画面が出ちゃう。Rails admin はなぜか一般ユーザ用のログイン画面が出ちゃう。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 || Fetching gem metadata from https://rubygems.org/......... | |
2 || Fetching version metadata from https://rubygems.org/... | |
3 || Fetching dependency metadata from https://rubygems.org/.. | |
4 || Resolving dependencies...... | |
5 || Your Gemfile requires gems that depend on each other, creating an infinite loop. Please remove gem 'meta_search' and try again. | |
y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-06-22T05:07:45+00:00] INFO: sudo su - deploy -c 'cd /srv/www/inq/releases/20150622050739 && /usr/local/bin/bundle install --path /home/deploy/.bundler/inq --without=test development' | |
================================================================================ | |
Error executing action `deploy` on resource 'deploy[/srv/www/inq]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/pry/pry/issues/1265#issuecomment-76188820 | |
これで治る。 |