Skip to content
RAILS 3 JACK STACK
Ruby JavaScript
Latest commit 9ffdec7 Jul 30, 2010 @twilson63 twilson63 Added base test examples.
Failed to load latest commit information.
app Added base test examples. Jul 30, 2010
autotest first commit Jul 23, 2010
config Added base test examples. Jul 30, 2010
db Added base test examples. Jul 30, 2010
doc first commit Jul 23, 2010
lib/tasks first commit Jul 23, 2010
public first commit Jul 23, 2010
script first commit Jul 23, 2010
spec Added base test examples. Jul 30, 2010
test first commit Jul 23, 2010
vendor/plugins first commit Jul 23, 2010
.gitignore first commit Jul 23, 2010
.rspec first commit Jul 23, 2010
Gemfile Added base test examples. Jul 30, 2010
Gemfile.lock Added base test examples. Jul 30, 2010
README added jammit Jul 23, 2010
Rakefile first commit Jul 23, 2010
config.ru first commit Jul 23, 2010

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.