Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
RAILS 3 JACK STACK
Ruby JavaScript
branch: master
Failed to load latest commit information.
app Added base test examples.
autotest first commit
config Added base test examples.
db
doc first commit
lib/tasks first commit
public first commit
script first commit
spec
test first commit
vendor/plugins first commit
.gitignore
.rspec first commit
Gemfile Added base test examples.
Gemfile.lock Added base test examples.
README added jammit
Rakefile first commit
config.ru first commit

README

# Rails 3 Stack

1. Install Rails
    
    gem install rails --pre
    
2. Create Project

    rails new [project name]

3. Add Haml/Sass

    # edit GemFile
    gem "haml"
    
4. Add RSpec
    gem install rspec-rails --pre
    
    # edit GemFile
    gem "rspec-rails", ">= 2.0.0.beta.18"
    
    rails g rspec:install
    
5. Add Remarkable

    gem install remarkable --pre

    # edit GemFile
    gem "remarkable", ">= remarkable-4.0.0.alpha4"
    
6. Add JQuery

    curl -L http://code.jquery.com/jquery-1.4.2.min.js > public/javascripts/jquery.js
    curl -L http://github.com/rails/jquery-ujs/raw/master/src/rails.js > public/javascripts/rails.js


    # config/initializers/jquery.rb
    module ActionView::Helpers::AssetTagHelper
      remove_const :JAVASCRIPT_DEFAULT_SOURCES
      JAVASCRIPT_DEFAULT_SOURCES = %w(jquery.js rails.js)

      reset_javascript_include_default
    end
    
    
7. Add Steak

    # edit gem file
    gem install capybara
    gem install steak --pre
    
    rails g steak
    
8. Barista

    # edit gem file
    gem 'barista', '>= 0.5.0'
    
    # mkdir app/coffeescripts
    
9. Jammit

    # edit gem file
    gem 'jammit'
    
    
Something went wrong with that request. Please try again.