The rails pipeline with Heroku is something difficult to master… Today I had a problem that has taken some hours to be fixed. I precompile assets as usual, and I realised that Glyphicon files have a different extension than the usual .js and .css, so I first had to extend it: config.assets.precompile += %w( *.js *.css *.eot *.woff *.ttf *.svg ) Then I saw that the files were being produced correct
Using the guard gem to run tests etc in your Rails app normally requires some form of file system monitoring. The monitoring will be OS dependant and rb-fsevent is the gem for OSX. This can be added to the Gemfile conditionally with: gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i Unfortunately when you next push to Heroku you are likely to get an error along the lines of: This i
herokuやSquareSpaceで転送が必要なとき これらのサービスで独自ドメイン使う時は、こんな流れ。 【行程1】 まずはwww.xxxx.comのCNAMEをheroku/SquareSpaceで指定されたものにする ↓ 【行程2】 xxxx.com(Naked Domain)をwww.xxxx.comに転送 1はどのドメインレジストラーでも対応していて問題なくいけるんだけど、2には対応していないところもある。 今回はムームードメイン。FAQにも転送には対応していませんってハッキリ書いてある。 Amazon Route53とか使ってると簡単なんだけどね。 お金払っていいっていう人はRoute53をお勧めします。 ムームードメインの場合 今回はムームードメインの場合だけど、どこの会社でもだいたい同じ。 コントロールパネル / ネームサーバ設定変更 で「ムームードメインのネームサーバ(
自分が使うwebサービスをちょろっと作ろうかと思い 作業時間計測のためにRedmineを入れてみた。 localに入れるだけじゃ使い勝手が悪いので、herokuに入れてみることにした。 ホントはGitリポジトリと連携させたいんだけど herokuだと無料だし、とりあえず入れてみた。 そのうちVPSに移行するかも。 参考URL ・plugin_assets ・How to deploy Redmine to Heroku ・imagemagick - Error installing Rmagick on Mountain Lion - Stack Overflow Install & Deploy redmineの準備 git clone git://github.com/redmine/redmine.git cd redmine git checkout 2.1-stable cp c
サイトの構築。作品の販売。ブログの投稿。この他にもさまざまな機能があります。 ログイン サイトをはじめよう 非公開サイト このサイトは現在プライベート設定になっています。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く