Skip to content

Instantly share code, notes, and snippets.

@danhorst
Last active December 28, 2015 08:39
Show Gist options
  • Save danhorst/7473012 to your computer and use it in GitHub Desktop.
Save danhorst/7473012 to your computer and use it in GitHub Desktop.
The Curate gem's internal test application doesn't generate quite right. I make these change two files manually after the test application is generated: `spec/internal/Gemfile`, `spec/internal/app/assets/javascripts/application.js` And re-run bundle install.
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//
// Required by Blacklight
//= require blacklight/blacklight
//= require curate
//= require_tree .
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'
group :doc do
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', require: false
end
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development
# Use debugger
gem 'debugger', group: [:development, :test]
gem 'curate', :path=>'../../../curate'
gem 'launchy'
gem 'database_cleaner', '< 1.1.0', :group => :test
gem 'test_after_commit', group: :test
gem 'poltergeist', group: :test
gem 'kaminari', github: 'harai/kaminari', branch: 'route_prefix_prototype'
gem "bootstrap-sass"
gem "devise"
gem "devise-guests", "~> 0.3"
group :development, :test do
gem "rspec-rails"
gem "jettywrapper"
end
group :test do
gem 'capybara'
gem 'factory_girl_rails'
gem 'rspec-html-matchers'
gem 'timecop'
gem 'vcr'
gem 'webmock'
end
@danhorst
Copy link
Author

Note the absence of turbolinks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment