My docker images are built on a Jenkins CI server and are pushed to our private Docker Registry. My goal is to provision environments with docker-compose which always start the originally built state of the images. I am currently using docker-compose 1.3.2 as well as 1.4.0 on different machines but we also used older versions previously. I always used the docker-compose pull && docker-compose up -
I'm trying to re-use an html component that i've written that provides panel styling. Something like: <div class="v-panel"> <div class="v-panel-tr"></div> <h3>Some Title</h3> <div class="v-panel-c"> .. content goes here </div> <div class="v-panel-b"><div class="v-panel-br"></div><div class="v-panel-bl"></div></div> </div> So I see that render takes a block. I figured then I could do something like
WEBrick is multi-threaded but Rails developers hard-coded a mutex, so it can handle just one request at a time. You can monkey-patch Rails::Server and you are free to run a multi-threaded WEBrick. Just note that WEBrick will be multithreaded only when config config.cache_classes = true and config.eager_load = true, which is typical to RAILS_ENV=production. This is because class reloading in develo
I am rendering a pretty huge sitemap HTML file with rake. Unfortunately, the code breaks when I migrate to rails 3. My current code looks like this: @controller = ActionController::Base.new @controller.request = ActionController::TestRequest.new @controller.instance_eval do @url = ActionController::UrlRewriter.new(request, {}) end # collect data, open output file file template = ERB.new(IO.read("#
I am the owner for the "project" repo, but somehow I am not able to push to it. user@none ~/rails_projects/project $ git remote -v origin git@github.com:user/project.git (fetch) origin git@github.com:user/project.git (push) Here is authentication check: user@none ~/rails_projects/project $ ssh -T git@github.com Hi user/project! You've successfully authenticated, but GitHub does not provide shell a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く