ローカル (OsX、WEBrick) で正常に動作する Rails アプリケーションがあります。
サーバー(Ubuntu 10.04、Apache、Passenger)でレポを複製し、パッセンジャーをセットアップしましたが、取得したすべてのページに接続しようとすると
Less::ParseError in Pages#home
Showing /var/www/MYAPP/app/views/layouts/application.html.erb where line #5 raised:
Cannot call method 'charAt' of undefined
(in /usr/lib/ruby/gems/1.8/gems/twitter-bootstrap-rails-2.0.2/vendor/assets/stylesheets/twitter/bootstrap.css.less)
bootstrap.css.less の内容は次のとおりです。
@import "twitter/bootstrap/bootstrap";
application.html.erb の 5 行目は次のとおりです。
<%= stylesheet_link_tag "application" %>
両方のマシンで ruby 1.8.7