rails/sass-rails — Issue #77: TypeError: can't convert String into Array
Author: masterkain
Created: 2011-12-14 05:55:19+00:00
State: open

Hello,
currently I cannot import any file on Rails master, sample follows, no additional backtrace provided.

Current Rails master requires Sprockets >= 2.1.2.

# app/assets/stylesheets/application.css.scss
@import "bourbon";
@import "bootstrap";

# Gemfile
gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'journey', :git => 'git://github.com/rails/journey.git'
gem 'arel', :git => 'git://github.com/rails/arel.git'

group :assets do
gem 'sass-rails', :git => 'git://github.com/rails/sass-rails.git'
gem 'coffee-rails', :git => 'git://github.com/rails/coffee-rails.git'
gem 'uglifier', '>= 1.0.3'
gem 'bourbon' # example
end

gem 'sprockets', :git => 'git://github.com/sstephenson/sprockets.git'

# log/development.log
Started GET "/assets/application.css" for 127.0.0.1 at 2011-12-14 06:42:03 +0100
Error compiling asset application.css:
TypeError: can't convert String into Array
(in /Users/kain/Sites/my/app/assets/stylesheets/application.css.scss)
Served asset /application.css - 500 Internal Server Error