投稿

9月, 2012の投稿を表示しています

twitter-bootstrap-railsをサブディレクトリで動かす

twitter-bootstrap-railsをサブディレクトリで動かすとアイコンの読み込み先にサブディレクトリが含まれないので、やったことのメモ。 app/assets/stylesheets/bootstrap_overrides.css.lessのリネーム bootstrap_overrides.css.less を bootstrap_overrides.css.less .erb にリネーム bootstrap_overrides.css.less.erbを更新 @import "twitter/bootstrap/responsive"; // Set the correct sprite paths @iconSpriteAssetPath: asset-path('/twitter/bootstrap/glyphicons-halflings.png'); @iconSpritePath: `"<%= ActionController::Base.config.relative_url_root %>" + @{iconSpriteAssetPath}.replace('"', '')`; @iconWhiteSpriteAssetPath: asset-path('/twitter/bootstrap/glyphicons-halflings-white.png'); @iconWhiteSpritePath: `"<%= ActionController::Base.config.relative_url_root %>" + @{iconWhiteSpriteAssetPath}.replace('"', '')`; // Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines) // Note: If you use asset_path() here, your compiled b

Ruby技術者認定試験 Gold 合格

イメージ
「Ruby技術者認定試験 Gold」合格しました。 一回落ちたし、