Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue loading on heroku (Failed to import) #61

Closed
rosswarren opened this issue Feb 13, 2012 · 1 comment
Closed

Issue loading on heroku (Failed to import) #61

rosswarren opened this issue Feb 13, 2012 · 1 comment

Comments

@rosswarren
Copy link

Hello,

it works find locally in development but when I deploy to heroku I get the following error.

File to import not found or unreadable: bootstrap.
Load path: /app
(in /app/app/assets/stylesheets/main.css.scss)

The code I have is this

@import "bootstrap";

Thanks, Ross

@rosswarren
Copy link
Author

Oh wait, I had this

group :assets do
    gem 'sass-rails'
    gem "compass-rails"
    gem 'bootstrap-sass'
    gem 'coffee-rails', '~> 3.2.1'
    gem 'uglifier', '>= 1.0.3'
end

but now I have this

group :assets do
    gem 'coffee-rails', '~> 3.2.1'
    gem 'uglifier', '>= 1.0.3'
end

gem 'sass-rails'
gem "compass-rails"
gem 'bootstrap-sass'

and it now works. I think it is because pre-compiling assets is failing for me, and I dont know why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants