This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
active_metadata (0.5.1) | |
acts_as_archive (0.4.1) | |
adapter-postgres (0.1.1) | |
aggregator-gem (0.1.9) | |
alondra (0.0.2) | |
api_resource (0.1.0) | |
arrest (0.0.5) | |
aruba (0.4.7) | |
auditor (2.1.2) | |
bartender (0.4.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :assets do | |
desc "Compile all the assets named in config.assets.precompile" | |
task :precompile do | |
# We need to do this dance because RAILS_GROUPS is used | |
# too early in the boot process and changing here is already too late. | |
if ENV["RAILS_GROUPS"].to_s.empty? || ENV["RAILS_ENV"].to_s.empty? | |
ENV["RAILS_GROUPS"] ||= "assets" | |
ENV["RAILS_ENV"] ||= "production" | |
Kernel.exec $0, *ARGV | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Remove Index#use | |
2. Separate Definition/DSL concerns | |
3. Move Source#run_hooks into RubyGemsIntegration | |
4. bundle issues command (posts a gist of the stuff in ISSUES) | |
5. Get specs passing on JRuby and RBX | |
6. ruby version check | |
7. git clone --shallow 1 in bundler, during autoclean mode | |
8. allow git/path for the same gem: http://www.cowboycoded.com/2010/08/10/using-2-sources-for-a-gem-in-different-environments-with-bundler/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle install | |
CLI#install | |
Bundler.root | |
SharedHelpers#default_gemfile | |
Bundler.definition | |
Bundler.default_gemfile | |
Bundler.default_lockfile | |
Definition.build | |
DSL.evaluate | |
Definition.new |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% | |
require 'cgi' | |
require 'uri' | |
begin | |
uri = URI.parse(ENV["DATABASE_URL"]) | |
rescue URI::InvalidURIError | |
raise "Invalid DATABASE_URL" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails31App::Application.configure do | |
# Settings specified here will take precedence over those in config/application.rb | |
# Code is not reloaded between requests | |
config.cache_classes = true | |
# Full error reports are disabled and caching is turned on | |
config.consider_all_requests_local = false | |
config.action_controller.perform_caching = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'rails', :git => 'git://github.com/rails/rails.git', :ref => '346cd04704c78a2b0c2b676dcb41f87e0ea6ea2a' | |
group :assets do | |
gem 'coffee-rails', '~> 3.1.0.rc' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RegenerateRuntimeDependenciesList < ActiveRecord::Migration | |
def self.up | |
Dependency.find_each(:batch_size => 5000) do |dep| | |
$redis.del(Dependency.runtime_key(dep.version.full_name)) if dep.version | |
dep.save | |
end | |
end | |
def self.down | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
<%= ENV["RAILS_ENV"] %>: | |
error_collector: | |
capture_source: true | |
enabled: true | |
ignore_errors: ActionController::RoutingError | |
apdex_t: 0.5 | |
ssl: false | |
monitor_mode: true | |
license_key: <%= ENV["NEW_RELIC_LICENSE_KEY"] %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/hone/Projects/heroku_work/bundler/lib/bundler/lazy_specification.rb:66:in `method_missing': undefined method `fetch_platform' for rake (0.8.7):Bundler::LazySpecification (NoMethodError) | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/source.rb:237:in `download_gem_from_uri' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/source.rb:76:in `fetch' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/installer.rb:55:in `block in run' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/spec_set.rb:12:in `block in each' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/spec_set.rb:12:in `each' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/spec_set.rb:12:in `each' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/installer.rb:54:in `run' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/installer.rb:12:in `install' | |
from /home/hone/Projects/heroku_work/bundler/lib/bundler/cli.rb:211 |