In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Both Sass and Compass are command-line tools based on the Ruby programming language. To use them, you first need to install Ruby,Windows on your computer and there is no preset Ruby, so if you haven't installed Ruby before, you need to install it now. It only takes a few minutes to install Ruby.
Search for "ruby" directly or click http://rubyinstaller.org/downloads/ to download it. According to your system configuration, select "Ruby 2.3.1 (x64)" if it is x64.
Follow the prompts, click next, and note that you need to check all here.
After the installation is complete, enter the command line tool and type "ruby-v" to view the version number
The next step is to install sass. If it is unfortunately blocked and the installation fails, you can refer to the following steps
1. Remove the default source
Command line input: gem sources-- remove https://rubygems.org/
2. Download the SSL certificate
Baidu can search for "cacert.pem" and enter the website to download or click https://curl.haxx.se/docs/caextract.html directly.
In the new page that pops up, make a copy of all the contents and save them in the txt document, change the encoding to utf-8, then name it "cacert.pem", and save the file under the Ruby folder on disk C.
Right-click "my computer"-"Properties"-"Advanced system Settings"-"Environment variables" and follow the figure below.
3. Configure as Taobao source
Command line input: gem sources-a https://ruby.taobao.org/
4. View the current source
Command line input: gem sources
5. After confirming that it is Taobaoyuan, execute the installation sass command
Command line input: gem install sass
Enter command line: sass-v to see if sass is installed successfully
Install compass
Command line input: gem install compass
Enter command line: compass-v to see if compass is installed successfully
Many problems were encountered in the process of installation, and Baidu searched a lot of them but failed to solve them. Finally, it was only after watching "Flying Fish lala" that the installation was successful. Thanks to the blogger!
Attached link: http://www.cnblogs.com/flyings/p/5355872.html
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.