fixed features
This commit is contained in:
parent
c87b0fcd2d
commit
e74255635a
@ -7,7 +7,7 @@ GIT
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
compass (0.11.1.5a2967f)
|
||||
compass (0.11.1.c87b0fc)
|
||||
chunky_png (~> 1.1)
|
||||
fssm (>= 0.2.7)
|
||||
sass (~> 3.1)
|
||||
@ -121,6 +121,7 @@ GEM
|
||||
ruby-prof (0.10.5)
|
||||
rubyzip (0.9.4)
|
||||
sass (3.1.1)
|
||||
sys-uname (0.8.5)
|
||||
term-ansicolor (1.0.5)
|
||||
thor (0.14.6)
|
||||
timecop (0.3.5)
|
||||
|
14
Rakefile
14
Rakefile
@ -29,20 +29,6 @@ To run with an alternate version of Rails, make test/rails a symlink to that ver
|
||||
To run with an alternate version of Haml & Sass, make test/haml a symlink to that version.
|
||||
END
|
||||
|
||||
begin
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
RSpec::Core::RakeTask.new(:rcov) do |spec|
|
||||
spec.rcov = true
|
||||
end
|
||||
|
||||
task :default => :spec
|
||||
rescue LoadError
|
||||
puts "Rspec (or a dependency) is not available. Try running bundler install"
|
||||
end
|
||||
|
||||
desc "Compile Examples into HTML and CSS"
|
||||
task :examples do
|
||||
linked_haml = "tests/haml"
|
||||
|
51
doc-src/content/help/tutorials/getting_started.markdown
Normal file
51
doc-src/content/help/tutorials/getting_started.markdown
Normal file
@ -0,0 +1,51 @@
|
||||
---
|
||||
title: Getting Started
|
||||
layout: tutorial
|
||||
crumb: Getting Started
|
||||
classnames:
|
||||
- tutorial
|
||||
---
|
||||
# Getting Started
|
||||
|
||||
## Installing Ruby
|
||||
|
||||
[Windows](http://www.ruby-lang.org/en/downloads/)
|
||||
[Mac, Linx, *inx](http://rvm.beginrescueend.com/rvm/install/)
|
||||
|
||||
## Installing Compass
|
||||
|
||||
Once Ruby is installed open your terminal and run the following:
|
||||
|
||||
1. `gem update --system`
|
||||
2. `gem install compass`
|
||||
|
||||
## Creating your first Compass project
|
||||
|
||||
### Stand Alone
|
||||
|
||||
[See the install page for more details](/install)
|
||||
|
||||
To create a new Compass stand alone project run `compass create <project_name>`
|
||||
You should see the following output:
|
||||
|
||||
directory my_project/
|
||||
directory my_project/sass/
|
||||
directory my_project/stylesheets/
|
||||
create my_project/config.rb
|
||||
create my_project/sass/screen.scss
|
||||
create my_project/sass/print.scss
|
||||
create my_project/sass/ie.scss
|
||||
create my_project/stylesheets/ie.css
|
||||
create my_project/stylesheets/print.css
|
||||
create my_project/stylesheets/screen.css
|
||||
|
||||
### Rails
|
||||
|
||||
1. Goto your rails root directory `cd <rails_dorectory>`
|
||||
2. Run the compass initalizer command `compass init rails .`
|
||||
|
||||
## Starting the Compass watcher
|
||||
|
||||
To start the compass watcher run `compass watch` from your projects root directory
|
||||
|
||||
|
@ -3,7 +3,7 @@ $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '../../test')))
|
||||
require 'test_helper'
|
||||
|
||||
require 'compass/exec'
|
||||
|
||||
include Compass::TestCaseHelper
|
||||
include Compass::CommandLineHelper
|
||||
include Compass::IoHelper
|
||||
include Compass::RailsHelper
|
||||
|
BIN
spec/test_project/public/images/nested/squares/ten-by-ten.png
Normal file
BIN
spec/test_project/public/images/nested/squares/ten-by-ten.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
@ -12,7 +12,6 @@ module Compass
|
||||
# by manipulating the load path.
|
||||
def generate_rails_app(name)
|
||||
if pid = fork
|
||||
puts "HELP I FORKED"
|
||||
Process.wait(pid)
|
||||
if $?.exitstatus == 2
|
||||
raise LoadError, "Couldn't load rails"
|
||||
|
Loading…
Reference in New Issue
Block a user