I've bee unsing Dreamweaver and Koara to compile scss files by compass.
But since I updated my Mac to OS X 10.3 (HighSierra) I got those error messages.
Users/MyAccount/Desktop/test/sass/mtnCommon.scss
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'compass' (>= 0) among 15 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/MyAccount/.gem/ruby/2.3.0:/Library/Ruby/Gems/2.3.0:/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/gems/2.3.0', execute `gem env` for more information
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
from /Applications/Koala.app/Contents/Resources/app.nw/bin/compass:17:in `
'
Please let me know how to solve this.
Steps to fix this problem:
Open Terminal
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Do not close Terminal. Open Mac Appstore and check Update, install all XCode Command Line Tools updates
Back to Terminal
Install Ruby:
brew install rbenv ruby-build
Install SASS gem:
sudo gem install sass
I've asked on GitHub's compass issue, and I got a reply saying "Fix this issue from DW side.".
So I need to wait until next DW comes out. Until then, I'll compile manually.
If you're using Koala, please ask the developer.
Thanks for your help.
Related
After moving to Mac OS Sierra, I'm facing problem to install cocoapods.
Every time I run sudo gem install cocoapods --pre every thing installed well, but while trying to install a pod, the terminal stack on Setting up CocoaPods master repo. Already updated the system with sudo gem update --system and still got the same issue, searched online to found old answers to use pod install --verbose Ss. I found in THIS answer fail again tells to install it manually.
NOTE: I have the latest version of 'Command Line Tools'. Any suggestion or how to install master repo manually?
Even when empty pod (i.e. without any pod name in it) is installed it gives
/Library/Ruby/Site/2.0.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'cocoapods' (>= 0) among 66 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/my_name/.gem/ruby/2.0.0:/Library/Ruby/Gems/2.0.0:/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/gems/2.0.0', execute `gem env` for more information
from /Library/Ruby/Site/2.0.0/rubygems/dependency.rb:324:in `to_spec'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
from /usr/local/bin/pod:22:in `'
Follow the instruction given below. It may help you.
check pod version using command given below
pod --version
if there is any version installed remove it by using the command
sudo gem uninstall cocoapods
restart your mac and reinstall again using the command
sudo gem install -n /usr/local/bin cocoapods
it will be security problem with mac os Sierra, i will try it and it will work for me . u can try it.
unable to load gem cocoa pods while creating repo
I have a problem running Jekyll on OS X Yosemite 10.10.5. When I run jekyll serve, I get the following error:
MacBook-Pro-Svetlana:iloveip svetlana$ jekyll serve
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'jekyll' (>= 0) among 22 total gem(s) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
from /usr/bin/jekyll:22:in `<main>'
MacBook-Pro-Svetlana:iloveip svetlana$
I had to reinstall OS X Yosemite. And I might have done something wrong. First, I installed Xcode Command Line Tools without actually installing Xcode. Then I followed instructions on this site to install Ruby and Git. After that I installed Jekyll but it wasn't running with jekyll serve. So I installed Xcode, but still got some errors.
So I upgraded RVM, and also upgraded Ruby to 2.2.3. After that I uninstalled and installed Jekyll once again. But when I try to run it I get the error above.
What can I do to fix it?
Hmmm. New problem seems that you have a problem with gem sources.
Re-generating sources can help.
$ gem sources --remove https://rubygems.org/
$ gem sources -a http://rubygems.org/
$ gem install jekyll
And now, install Jekyll again.
I am trying to install Metasploit Framework on OS X Yosemite and whilst running bundle install the installer gets stuck on trying to install metasploit-framework -v '4.10.1.pre.dev'.
When I run gem install metasploit-framework -v '4.10.1.pre.dev' on it's own I get this error:
ERROR: Could not find a valid gem 'metasploit-framework' (= 4.10.1.pre.dev) in any repository
ERROR: Possible alternatives: test_framework, metasploit-yard, metasploit-runner, metasploit-erd,
metasploit-concern
Has anyone successfully installed msf on Yosemite that could help me out?
It seems like Gem needs more access, so if you are using RVM then Try this:
rvmsudo bundle install
Solved by going to the github page for the framework and cloning it into my /opt directory. After I just ran msfupdate everything installed as normal!
I' ve installed ruby with rubygems , version 1.9.2. I've made an update and also install version 2.1.0 (last stable). And now I'll get an error at my phpStorm console. Before everything worked great.
If I check my sass-Version, I always get these output in console (terminal)
/Users/ssa/.rvm/rubies/ruby-2.1.0/bin/scss --no-cache --update --watch --sourcemap --debug-info styles.scss:/Users/ssa/Sites/staging_shop/.../css/styles.css
/Users/ssa/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'sass' (>= 0) among 41 total gem(s) (Gem::LoadError)
from /Users/ssa/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/dependency.rb:309:in `to_spec'
from /Users/ssa/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_gem.rb:53:in `gem'
from /Users/ssa/.rvm/rubies/ruby-2.1.0/bin/scss:22:in `<main>'
Work on a MAC OS x 1.6.8
What's my problem? I don't know. Meanwhile I think I installed to much .. and have no idea what I#m doing.
try this out
first install saas-rails gem with command
gem install 'sass-rails'
and check sass version
rubygems/dependency.rb:296:in `to_specs': Could not find 'cocoapods' (>= 0) among 35 total gem(s) (Gem::LoadError)
from /Users/divyam.shukla/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from /Users/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
from /Users/user/.rvm/gems/ruby-2.0.0-p247/bin/pod:22:in `<main>'
I am getting this error.
Hey I had the same problem that you have, I solve it following the next steps:
(I strongly recommend to use rvm to manage ruby versions)
Remove cocoapods using gem uninstall cocoapods
Install rvm, to do this I followed this steps
https://rvm.io/rvm/install
After that reinstall cocoapods using gem install cocoapods
run pod setup
And after that everything works like a charm!.
You could notice that I didn't use sudo.
Hope it could helps you.
EDIT: If you have a slow internet connection it could take several minutes, to check the progress or steps use pod setup --verbose
I just ran this without doing any changes using rvm.
I do have rvm version: rvm 1.25.30 (stable).
Step 1: sudo gem uninstall cocoapods
Step 2: gem install cocoapods
Step 3: pod setup
Make sure not to install with sudo.
do this :
sudo gem install -n /usr/local/bin cocoapods