Skip to content

Instantly share code, notes, and snippets.

View neotericdesign's full-sized avatar

Neoteric Design, Inc. neotericdesign

View GitHub Profile
Coltrane:designday joe$ r s
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require': no such file to load -- refinerycms-core (LoadError)
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `block in require'
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /Users/joe/.rvm/gems/ruby-1.9.2-p0@refineryedge/gems/refinerycms-i18n-0.9.9.9/lib/refinery/i18n.rb:3:in `<top (re
<<<<<<< HEAD
existing_source_root = self.class.source_root
::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.sort.each do |pathname|
self.class.source_root pathname
=======
unless self.options[:update]
existing_source_root = self.class.source_root
::Refinery::Plugins.registered.pathnames.reject{|p| !p.join('db').directory?}.each do |pathname|
self.class.source_root pathname
super
scope :similar, lambda { |id, tag_name|
unscoped {
where(['artwork_entries.id != ?', id]).limit(2).tagged_with(tag_name).order('RAND()')
}
}
ActionView::MissingTemplate: Missing template pages/show with {:formats=>[:"text/*"], :handlers=>[:rhtml, :builder,
:rxml, :erb, :rjs], :locale=>[:en, :en]} in view paths
"/home/ndnet/neotericdesign/rails/releases/20110113192320/app/views",
"/home/ndnet/neotericdesign/rails/releases/20110113192320/themes/neoteric/views",
"/home/ndnet/neotericdesign/rails/releases/20110113192320/app/views",
"/home/ndnet/neotericdesign/rails/releases/20110113192320/vendor/engines/portfolio_entries/app/views",
"/home/ndnet/neotericdesign/rails/releases/20110113192320/vendor/engines/snippets/app/views",
"/home/ndnet/neotericdesign/rails/shared/bundle/ruby/1.8/gems/refinerycms-i18n-0.9.8.12/app/views",
"/home/ndnet/neotericdesign/rails/shared/bundle/ruby/1.8/gems/refinerycms-search-0.9.8/app/views",
"/home/ndnet/neotericdesign/rails/shared/bundle/ruby/1.8/bundler/gems/refinerycms-blog-41d94df0df89/app/views",
<script>
$(document).ready(function(){
$(function() {
var availableTags = <%=raw @all_tags %>;
function split( val ) {
return val.split( /,\s*/ );
}
function extractLast( term ) {
return split( term ).pop();
[user]
email = [email protected]
name = Joe Sak
[github]
user = joemsak
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
Started POST "/session" for 127.0.0.1 at 2010-12-08 11:35:06 -0600
RefinerySetting Load (0.5ms) SELECT `refinery_settings`.* FROM `refinery_settings`
Processing by SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"rn2SvSJDS9ZC3POoXIVsDpe2KnusfH0hCBO8SakHblU=", "session"=>{"login"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "modal"=>"false", "dialog"=>"false", "commit"=>"Sign in", "continue_editing"=>"false", "locale"=>:en}
SQL (0.6ms) SHOW TABLES
SQL (1.2ms) describe `roles_users`
Role Load (0.2ms) SELECT `roles`.* FROM `roles` WHERE (`roles`.`title` = 'Refinery') LIMIT 1
User Load (7.9ms) SELECT * FROM `users` INNER JOIN `roles_users` ON `users`.id = `roles_users`.user_id WHERE (`roles_users`.role_id = 1 )
User Load (0.3ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1) LIMIT 1
CACHE (0.0ms) SELECT `users`.* FROM `users` WHERE (`users`.`id` = 1) LIMIT 1
@neotericdesign
neotericdesign / amazon_s3.yml
Created December 1, 2010 15:47
Example YML for amazon_s3 & refinery & heroku
login: &login
access_key_id: <%= ENV['S3_KEY'] %>
secret_access_key: <%= ENV['S3_SECRET'] %>
development:
bucket_name: bucket_name
<<: *login
distribution_domain: s3.amazonaws.com/bucket_name
test:
login: &login
access_key_id: ENV['s3_key']
secret_access_key:ENV['s3_secret']
development:
bucket_name: blah
<<: *login
distribution_domain: s3.amazonaws.com/blah
test:
$ rake db:migrate
(in /Users/joe/Projects/OxBow)
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refinery/gems/json-1.4.6/lib/json/common.rb:65: warning: already initialized constant State
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refinery/gems/json-1.4.6/lib/json/common.rb:66: warning: already initialized constant SAFE_STATE_PROTOTYPE
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refinery/gems/json-1.4.6/lib/json/common.rb:67: warning: already initialized constant FAST_STATE_PROTOTYPE
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refinery/gems/json-1.4.6/lib/json/common.rb:74: warning: already initialized constant PRETTY_STATE_PROTOTYPE
/Users/joe/.rvm/gems/ruby-1.9.2-p0@refinery/gems/json-1.4.6/lib/json/ext.rb:14: warning: already initialized constant JSON_LOADED
rake aborted!
uninitialized constant Refinery::Application