This is in addition to this post: Can't compile rwd skin SCSS in Magento CE 1.9
Windows 8.1 / PowerShell
Compass 1.0.1 (Polaris)
Sass 3.4.6 (Selective Steve)
ruby 2.1.3p242 (2014-09-19 revision 47630) [x64-mingw32]
I removed the " from a:not(".button") > a:not(.button)
New error:
"NoMethodError: undefined method `specificity' for [:not(.block-layered-nav)]:Array";
Commented out the block then I get:
"NoMethodError: undefined method `specificity' for [:not(:last-child)]:Array"
This appears to be a known issue with Sass 3.4.6. You'll need to downgrade to 3.4.5 until this is fixed.
Related
rails/railtie/configuration.rb:97:in `method_missing': undefined method `action_mailer'
while updating from rails 4 to rails 6.0.1.
Previous version of ruby was 2.4
New Ruby version I am using is ruby 3.0.0
When I try to run the compile command below for compass I get an error saying sub is undefined for nil:Nilclass.
Command
compass compile hack-stack/app/styles --relative-assets --sass-dir hack-stack/app/styles --output-style expanded --images-dir images --css-dir public
Error
compass-0.12.6/lib/compass/compiler.rb: undefined method `sub' for nil:NilClass
I'm running ruby version 2.0.0p0 and compass version 0.12.6.
What is wrong with the command I'm running?
You need the compass pre-release.
gem install compass --pre
Having trouble running the Ruby script getting the below error message :
undefined local variable or method `firewatir' for main:Object (NameError)
Following versions :
Ruby187\bin>ruby -v
ruby 1.8.7 (2012-10-12 patchlevel 371) [i386-mingw32]
Ruby187\bin>gem -v
1.8.24
Ruby187\bin>gem install firewatir
Successfully installed firewatir-1.9.4
Firefox version 3.5
installed JSSh 1.0
Script
require 'firewatir'
require 'win32ole'
firewatir is dead. The last release was in 2011. If you want to drive Firefox, use watir-webdriver.
I'm getting the following error when trying to save in Codekit
/Applications/CodeKit.app/Contents/Resources/engines/oilypng/lib/oily_png/oily_png.bundle [BUG] Segmentation fault
ruby 1.9.3p286 (2012-10-12 revision 37165) [x86_64-darwin12.2.0]
Anyone know what I need to fix?
Edit
I think it has something to do with Compass being unable to Compile. Compass is installed and everything was working up until today. I updated Codekit to version 1.6.1 today
Try doing compass clean inside your project folder and then compile again.
Just pulled latest code and now getting:
...my_app/Gemfile:2:in `evaluate':
undefined method `ruby' for #<Bundler::Dsl:0x007fc17c3fc6c8> (NoMethodError)
The ruby method that allows you to specify the version of Ruby your project should use was only added in Bundler 1.2. You’ve got a project with a Gemfile that uses this new ruby method, but have an old version of Bundler. You just need to get Bundler 1.2 with
gem install bundler
and you should be good to go.