diff --git a/Gemfile.lock b/Gemfile.lock index 5de6ffd8..4e11e8aa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) diff --git a/Rakefile b/Rakefile index dcb44d0c..f7f26aa3 100644 --- a/Rakefile +++ b/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" diff --git a/doc-src/content/help/tutorials/getting_started.markdown b/doc-src/content/help/tutorials/getting_started.markdown new file mode 100644 index 00000000..38a5f0f9 --- /dev/null +++ b/doc-src/content/help/tutorials/getting_started.markdown @@ -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 ` +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 ` +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 + + diff --git a/features/step_definitions/command_line_steps.rb b/features/step_definitions/command_line_steps.rb index 5127af25..8efdf14c 100644 --- a/features/step_definitions/command_line_steps.rb +++ b/features/step_definitions/command_line_steps.rb @@ -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 diff --git a/spec/test_project/public/images/nested/squares/ten-by-ten.png b/spec/test_project/public/images/nested/squares/ten-by-ten.png new file mode 100644 index 00000000..c0ae53cc Binary files /dev/null and b/spec/test_project/public/images/nested/squares/ten-by-ten.png differ diff --git a/test/helpers/rails.rb b/test/helpers/rails.rb index 96e91a00..12c60c0f 100644 --- a/test/helpers/rails.rb +++ b/test/helpers/rails.rb @@ -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"