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

uninitialised constant Sass::Script (NameError) #13

Closed
stefkin opened this issue Oct 27, 2015 · 5 comments
Closed

uninitialised constant Sass::Script (NameError) #13

stefkin opened this issue Oct 27, 2015 · 5 comments

Comments

@stefkin
Copy link

stefkin commented Oct 27, 2015

uninitialised constant Sass::Script (NameError)

The error appeared after I installed rails_db gem. Rails_db's dependencies versions are:

foundation-rails (5.5.3.2)
sass (3.4.19)
sass-rails (5.0.4)
codemirror-rails (5.6)
font-awesome-rails (3.2.1.0)
jquery-rails (= 4.0.4)
rails (4.2.1)

@igorkasyanchuk
Copy link
Owner

Demo app: https://www.dropbox.com/s/tbtaq40pgpzd537/demo_rails_db_rails_4_2_1.zip?dl=0 works well.

Also maybe this is an issue: rails/sass-rails#315 (and solution)

Pls next time put a stack trace of error

@igorkasyanchuk
Copy link
Owner

Let me know if issue is resovled

@stefkin
Copy link
Author

stefkin commented Oct 27, 2015

I had to require sass gem explicitly before sass-rails as described in the issue you linked. After that I had to upgrade haml gem (3.1.7 -> 4.0.7), font-awesome-rails gem (3.2.1.0 -> 4.4.0.0).
After that rails_db works normally. It may be a good reason to make dependencies in gemfile more specific.
Thank you for the brief response.

@stefkin stefkin closed this as completed Oct 27, 2015
@igorkasyanchuk
Copy link
Owner

I know, but I don't know what versions of gems working with rails_db (difficult to verify all), easier to let people help me with that, and just create list of issues and solutions how to fix them

@igorkasyanchuk
Copy link
Owner

Fixed in latest version of gem.
please don't forget to share gem with friends :)

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