Node js: not found ruby.exe - ruby

iam new to node js, ruby grunt etc. And i want to use premailer for my e-mail templates. So i installed node js, ruby, grunt and premailer but when i try to grunt it i get this error message:
C:\Users\Noeel\Desktop\mail>grunt
Running "premailer:main" (premailer) task
Fatal error: Error: not found: ruby.exe
http://i.stack.imgur.com/JNOXc.jpg
I followed several guides and searched the problem on google but no luck.

This error seems to be related to premailer required dependencie.
Download Ruby
Install
Restart your command line
Have fun!

Related

Grunt Sass Task Error when Running "Grunt Compile"?

When running "Grunt Compile" I get the below error related to Sass Task? I have checked that all files exist and that there are no syntax errors. See Gist link below for "gruntfile.js". This is for a pre-existing grunt project on Windows 7 and all that was required was that I installed sass, npm, grunt & setup environment variables. And it's not working.
Running "sass:dev" (sass) task
Warning: source string:1: error: invalid top-level expression
Use --force to continue.
Aborted due to warnings.
https://gist.github.com/Cypher278999/6e2703dc3391e4509098

Sencha build due to sass target

I am trying to build a Sencha app but I am getting the following errors:
[ERR] The following error occurred while executing this line:
/Users/conor/Repositories/POS/pos/.sencha/app/build-impl.xml:286:
The following error occurred while executing this line:
/Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:280:
The following error occurred while executing this line:
/Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:286:
Problem: failed to create task or type x-compass-compile Cause: The
name is undefined. Action: Check the spelling. Action: Check that any
custom tasks/types have been declared. Action: Check that any
/ declarations have taken place.
I looked into the Ant scripts and it appears that the issue is around the SASS process using Compass.
I can confirm that Compass v1.0.3 is installed.
After that, I am not a Sencha expert so am stuck. How can I fix this issue please?
Thank you.
I ran into this error too. I had just upgraded to Sencha CMD 6.0.2.14. Download page
It looks like you're using Sencha Touch and it's probably 2.x. There's a component called "Compass extension" in the installer that needs to be checked.
If you didn't install the ruby, Install the ruby2.X. Ruby is required to build the sencha application and set 'ruby' to your system path variable.
eg: check your ruby version with ruby -v

Grunt Compass Fatal error: spawn EPERM

I have recently been trying to work with this recently, originally i had issues with ruby etc, then i uninstalled ruby and went with the rvm way of doing ruby and now i no longer have those problems..
And now hopefully i have my last issue, which seems to be a grunt/grunt-contrib-compass issue.
I get the following error when i try to run any of the commands that involve the compass task:
Running "compass:dev" (compass) task
Verifying property compass.dev exists in config...OK
File: [no files]
Options: config="C:\\code\\newsletters\\globalgeorgia\\test\\grunt-email-boilerplate\\vendor\\compass-config.rb", cssDir="tmp/css", imagesDir="tmp/images"
Fatal error: spawn EPERM
And I have tried solutions around similar issues with no luck... Any Help Would be Great!
UPDATE
Ive figured that it has to be with compass because this gives the exact same issue where as this (not using compass) works perfectly.

Error -60005 when install Cocos2d-iPhone v3 RC4

When I try to install Cocos2d-iphone 3.0.0 RC4, I got an error: (run without sudo)
Error -60005 occurred while executing script with privileges.
So, I try to show its package content and use terminal to do: cd ...Cocos2D Installer 3.0.0.app/Contents/MacOS
I try this command: (with sudo)
sudo ./Cocos2D\ Installer\ 3.0.0
It works but I got log with some errors:
[1m>>> Installing Cocos2D-v3.0.0 files (B[m
[1m>>> Installing Cocos2D-v3.0.0 templates (B[m
[4m[1mCocos2D Template Installer (Cocos2D-v3.0.0)(B[m
Error: [31m✖︎(B[m Script cannot be executed as root.
In order for it to work properly, please execute the script again without 'sudo'.
If you want to know more about how to use this script execute '/Users/viethung/Downloads/Cocos2D-v3.0.0/install.sh --help'.
[1m>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute.... (B[m
appledoc version: 2.2 (build 963)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Xcode got an error: No documentation set present at specified path.
[1m>>> Cocos2D-v3.0.0 installation complete! (B[m
Are there any way is better than this way?
I have same problem.
I think you installed old cocos2d-iphone and it caused this problem.
You should remove old cocos2d-iphone first. I removed:
~/Library/Developer/Xcode/cocos2d v3.x
And install again. It works for me.
Hope it works for you :)

Docpad error after Sass install

I want to start to work with foundation 4. So I installed Ruby and Sass.
After I installed Sass gem, I get the following error message on docpad generate:
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:948:11)
at Process.ChildProcess._handle.onexit (child_process.js:739:34)
→ [2013-05-31 13:23:20.812] [C:\Users\USERDIR\AppData\Roaming\npm\node_modules\docpad\out\lib\docpad.js] [DocPad.log]
error: An error occured:
Error: spawn ENOENT
at errnoException (child_process.js:948:11)
at Process.ChildProcess._handle.onexit (child_process.js:739:34)
→ [2013-05-31 13:23:20.820] [C:\Users\USERDIR\AppData\Roaming\npm\node_modules\docpad\out\lib\docpad.js] [DocPad.log]
I'd like to use sass for generating foundation inside docpad.
I've tried to use this foundation docpad skeleton: https://github.com/axyz/zurb-foundation.docpad
What can cause this and how could I solve it?
a bit old question, however I've just updated https://github.com/axyz/zurb-foundation.docpad in order to support foundation v4.3.2 right now it seems to work well.
however I had to switch from pure sass to the nodesass implementation (keeping updated manually the source of foundation, maybe it could be switched to a git submodule). I had to switch not only for performance reason, but also because i had problems with the sass plugin: it just get stuck during docpad run whenever there is some file to parse like example.css.scss
It's likely the same as this issue - https://github.com/docpad/docpad-plugin-sass/issues/6 - that being that DocPad was unable to automatically detect your sass installation path, so you'll have to specify it manually by adding the following to your docpad configuration file
plugins:
sass:
sassPath: 'theValue'
scssPath: 'theValue'
compass: 'theValue'

Resources