2 Star 0 Fork 0

mirrors_sass/ruby-sass

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
init.rb 587 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nathan Weizenbaum 提交于 2010-09-06 23:46 . Support older Rails versions.
begin
require File.join(File.dirname(__FILE__), 'lib', 'sass') # From here
rescue LoadError
begin
require 'sass' # From gem
rescue LoadError => e
# gems:install may be run to install Haml with the skeleton plugin
# but not the gem itself installed.
# Don't die if this is the case.
raise e unless defined?(Rake) &&
(Rake.application.top_level_tasks.include?('gems') ||
Rake.application.top_level_tasks.include?('gems:install'))
end
end
# Load Sass.
# Sass may be undefined if we're running gems:install.
require 'sass/plugin' if defined?(Sass)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sass/ruby-sass.git
[email protected]:mirrors_sass/ruby-sass.git
mirrors_sass
ruby-sass
ruby-sass
stable

搜索帮助