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!
Related
Following the documentation, I tried installing the Heroku CLI by typing the following into Terminal:
brew tap heroku/brew && brew install heroku
The installation seems to work successfully. However, when I then type heroku --version, or indeed any other Heroku command, I get the error message:
zsh: command not found: heroku
Can anyone please explain what I am doing wrong here? Many thanks in advance.
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'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.
I have bootstrap 4 set up locally and when I ran grunt watch I get the following warning:
Running "scsslint:docs" (scsslint) task
Warning:
bundleExec options set but no Bundler executable found in your PATH.
More info: https://github.com/ahmednuaman/grunt-scss-lint
Use --force to continue.
Aborted due to warnings.
To fix this I ran the following command:
sudo gem install bundler -n /usr/local/bin
Then I got the following message:
Running "scsslint:docs" (scsslint) task
Running scss-lint on docs
>> 1. Please make sure you have ruby installed: `ruby -v`
>> 2. Install the `scss-lint` gem by running:
>> gem update --system && gem install scss-lint
So I ran the following commands:
sudo gem update --system -n /usr/local/bin
sudo gem install scss_lint -n /usr/local/bin
Now when I run grunt watch I get the following:
Running "scsslint:docs" (scsslint) task
Running scss-lint on docs
bundler: failed to load command: scss-lint (/usr/local/bin/scss-lint)
Warning: Task "scsslint:docs" failed. Use --force to continue.
I am on OSX El Capitan. Anyone have an idea how to fix this?
FYI I had to use the -n /usr/local/bin parameter on the commands because it would give me
Not sure what the issue is, but scss-lint is basically a syntax checker. I find that if I remove scss-lint that TWBS complies.
Try:
sudo gem uninstall scss-lint
Hopefully there will be a better answer than this, but for now this will get you going.
I'm running Linux Mint 15. I don't know if this a Path problem but I install compass with gem install compass and it says 1 gem installed. Then when I type compass -v I get the following:
The program 'compass' can be found in the following packages:
* libcompass-ruby1.8
* ruby-compass
Try: sudo apt-get install <selected package>
EDIT
had to put source ~/.bash_profile inside my .bashrc file. But now the error is
/home/mike/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib/bundler/definition.rb:16:in `build': /Gemfile not found (Bundler::GemfileNotFound)
Well this is strange. I ended up wiping everything and re-installing RVM, Ruby, RubyGems, and Compass and now it all works fine. Don't really know what happened.