This file contains 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
# Workflow for MusicSite. | |
window do | |
tab :settings => "Homebrew" do | |
run "bundle" | |
run "rails server" | |
run "open http://localhost:3000" | |
end | |
tab :settings => "Homebrew" do |
This file contains 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
# Workflow for MusicSite. | |
window :bounds => [16, 44, 615, 950] do | |
tab :settings => "Homebrew" do | |
run 'cd "/Users/newuser/Dropbox/Sites/rails/musicsite"' | |
run "bundle" | |
run "rails server" | |
end | |
tab :settings => "Homebrew" do |
This file contains 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 ClientsController < ApplicationController | |
def create | |
c = params[:client] | |
e = params[:client][:event] | |
client = Client.new( | |
:name=>c[:name], | |
:title=>c[:title], | |
:organization=>c[:organization], |
This file contains 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
-----> Heroku receiving push | |
-----> Migrating from bamboo-ree-1.8.7 to bamboo-mri-1.9.2 | |
-----> Rails app detected | |
-----> Gemfile detected, running Bundler version 1.0.3 | |
Unresolved dependencies detected; Installing... | |
Fetching source index for http://rubygems.org/ | |
Fetching git://github.com/resolve/refinerycms.git | |
Installing rake (0.8.7) |
This file contains 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
Started GET "/login" for 108.14.184.110 at Sun Dec 05 20:27:21 -0800 2010 | |
Processing by SessionsController#new as HTML | |
Parameters: {"locale"=>:en} | |
Rendered .bundle/gems/ruby/1.8/gems/refinerycms-0.9.8.6/vendor/refinerycms/core/app/views/shared/admin/_error_messages.html.erb (0.5ms) | |
Rendered .bundle/gems/ruby/1.8/gems/refinerycms-0.9.8.6/vendor/refinerycms/core/app/views/shared/admin/_form_actions.html.erb (1.9ms) | |
Rendered .bundle/gems/ruby/1.8/gems/refinerycms-0.9.8.6/vendor/refinerycms/core/app/views/admin/_head.html.erb (3.7ms) | |
Rendered .bundle/gems/ruby/1.8/gems/refinerycms-0.9.8.6/vendor/refinerycms/authentication/app/views/sessions/new.html.erb within layouts/login (40.3ms) | |
Completed in 72ms | |
ActionView::Template::Error (Read-only file system - /disk1/home/slugs/369912_43b859a_0136-7fdf6765-4022-412f-b3c8-a2463d90c7e8/mnt/public/stylesheets/cache - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem): |
This file contains 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
Processing by Admin::UsersController#index as HTML | |
Parameters: {"locale"=>:en} | |
'burhan' tried to access 'admin/users' but was rejected. | |
Exist fragment? views/refinery_menu_site_menu_/refinery/users (0.1ms) | |
Rendered .bundle/gems/ruby/1.8/gems/refinerycms-0.9.8.6/vendor/refinerycms/core/app/views/shared/_menu.html.erb (0.8ms) | |
Rendered shared/_content_page.html.erb (2.1ms) | |
Rendered pages/show.html.erb within layouts/admin (2.5ms) | |
Completed in 99ms | |
ActionView::Template::Error (undefined method `detect' for nil:NilClass): |
This file contains 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
Started GET "/request-a-proposal" for 127.0.0.1 at 2010-12-08 02:54:41 -0500 | |
Processing by PagesController#show as HTML | |
Parameters: {"path"=>"request-a-proposal", "locale"=>:en} | |
Role Load (0.2ms) SELECT "roles".* FROM "roles" WHERE ("roles"."title" = 'Refinery') LIMIT 1 | |
SQL (35.2ms) SELECT name | |
FROM sqlite_master | |
WHERE type = 'table' AND NOT name = 'sqlite_sequence' | |
User Load (0.3ms) SELECT * FROM "users" INNER JOIN "roles_users" ON "users".id = "roles_users".user_id WHERE ("roles_users".role_id = 1 ) | |
Page Load (0.7ms) SELECT "pages".* FROM "pages" WHERE ("pages"."cached_slug" = 'request-a-proposal') LIMIT 1 | |
PagePart Load (0.6ms) SELECT "page_parts".* FROM "page_parts" WHERE ("page_parts".page_id = 11) ORDER BY position ASC |
This file contains 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
rake aborted! | |
An error has occurred, this and all later migrations canceled: | |
uninitialized constant Inquiry | |
/disk1/home/slugs/372415_8bc07b9_14d8-c588ea07-334b-4f3c-a09c-dc06d5d71658/mnt/db/migrate/20100913234704_create_refinery_schema.rb:15:in `up' | |
/home/slugs/372415_8bc07b9_14d8-c588ea07-334b-4f3c-a09c-dc06d5d71658/mnt/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.3/lib/active_record/migration.rb:312:in `block in migrate' | |
/usr/ruby1.9.2/lib/ruby/1.9.1/benchmark.rb:294:in `measure' | |
/home/slugs/372415_8bc07b9_14d8-c588ea07-334b-4f3c-a09c-dc06d5d71658/mnt/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.3/lib/active_record/migration.rb:312:in `migrate' | |
/home/slugs/372415_8bc07b9_14d8-c588ea07-334b-4f3c-a09c-dc06d5d71658/mnt/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.3/lib/active_record/migration.rb:395:in `migrate' | |
/home/slugs/372415_8bc07b9_14d8-c588ea07-334b-4f3c-a09c-dc06d5d71658/mnt/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.3/lib/active_record/migration.rb:537:in `block (2 levels) in migrate' |
This file contains 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', '3.0.3' | |
gem 'sqlite3-ruby', :require => 'sqlite3' | |
# REFINERY CMS ================================================================ | |
java = (RUBY_PLATFORM == 'java') |
This file contains 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
Freenaut:testapp2 newuser$ heroku rake db:migrate --app shien4 | |
rake aborted! | |
An error has occurred, this and all later migrations canceled: | |
PGError: ERROR: current transaction is aborted, commands ignored until end of transaction block | |
: SELECT COUNT(*) | |
FROM pg_tables | |
WHERE tablename = 'roles' | |
/disk1/home/slugs/372714_6e7437c_3254-b2c885b7-b8e6-4d3e-b0b2-c21cb8ffab45/mnt/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:202:in `rescue in log' |