I've tried installing Cucumber using:
npm install -g cucumber
and
brew install cucumber-cpp
In both cases it looks as it is installed successfully but when I try to run cucumber command I get:
-bash: cucumber: command not found
I say be missing something. Please help!
It finally worked using gem install cucumber.
It is also necessary to close the terminal and open a new one.
Related
I tried installing the Shopify app CLI through the command:
gem install shopify-cli
Output:
ERROR: Error installing shopify-cli:
"theme-check-language-server.bat" from theme-check conflicts with C:/Ruby27-x64/bin/theme-check-language-server.bat
Any help is appreciated.
Run command line as administrator. Then executing
gem install shopify-cli
will give you an option to override theme-check-language-server.bat and theme-check.bat. Confirm with y to override.
Solution credit to drip.
I have tried installing Sass three times on Mac OS Sierra(10.12) from the terminal typing the following code:
sudo gem install sass
Then it asks for my password, I enter it and nothing happens (I even waited half an hour) it does not even gives any error or any other message, then when I try to close the terminal window a message appears saying that the processing will terminate if I close the window.
I already checked on if ruby is installed on my Mac and this is the version I have:
ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
What should I do?
NOTE: I'm a newbie and don't know about programming at all and this is the first time I use the terminal.
I had the exact same issue but found a solution for a similar thread on Compass.
You might need to install the developer tools first by entering the following on the command line:
xcode-select --install
Then try
sudo gem install sass
It worked for me and I am now running Sass 3.5.1 (Bleeding Edge)
Buddy,
I just now faced the same problem exactly same.
$ brew install ruby
make sure homebrew is installed on your PC then I did
$ sudo gem install sass
The installation took place
$ sass -v
Sass 3.5.1 (Bleeding Edge)
Hope it helps you too..
I used to have the same problem installing the Sass.
After installing Xcode with
xcode-select --install
I agree the license with
sudo xcodebuild -license
and finally run the app Xcode and finished installing.
After that I write sudo gem install sass and it works.
Most answers and solutions are related to OSX, it is focused in Windows 7:
I have installed Grunt & Grunt CLI globally. Then I did a npm install inside a project folder to install all dependencies.
No problems so far, but as soon as I try to run the "grunt build" command, I get this warning in my project:
Warning: You need to have Ruby and Sass installed and in your PATH for
this task to work. More info:
https://github.com/gruntjs/grunt-contrib-sass Use --force
to continue.
Ok. This worked for me:
1) Download Ruby from http://rubyinstaller.org/
2) When you install, check the 'PATH' option. This is the key.
3) Once installed, open the prompt (you can use interactive ruby) and write
gem install sass
Now it should work.
Let's consider that newbie people most of the time try to use these commands:
npm install ruby
npm install sass
It won't work.
Solution:
Download and install Ruby from here “http://rubyinstaller.org/”
Execute in a command prompt window “gem install sass”
Only downloading Ruby independently it works. If you try npm install ruby it won't work.
Hope it helps to solve this problem in your case.
To avoid the need of Ruby, you can try this:
npm uninstall --save grunt-contrib-sass
npm install --save node-sass grunt-sass
Source:
https://github.com/gruntjs/grunt-contrib-sass/issues/229#issuecomment-281284894
I've been trying to install compass/sass, and it does install/bundle except it...doesn't install. I can't use any commands. When I enter 'compass compile' I get the error
zsh: command not found: compass
When I try to run my project I get this error on rails server:
File to import not found or unreadable: compass/css3.
I tried uninstalling the gems and using sudo to install, didn't work.
I tried running gem update --system, doesn't work
when I run which -a gem, I get:
/Users/ashleighalmeida/.rbenv/shims/gem
/usr/bin/gem
If anybody has any suggestions it would be greatly appreciated. thank you so much!
I'm trying to install Jekyll, a simple, blog-aware, static site generator. When I attempted to run the terminal command gem install jekyll, I got this error:
I then tried to update my RubyGems, using the command sudo gem update --system. That didn't work. Also, I attempted to install using sudo -s (as admin).
Hopefully, I don't have to re-install Ruby. What a headache that would be!
What version of OS X are you using?
Try this from your shell to install xcode command line tools
xcode-select --install
Then launch xcode and agree to the license. Then try again.