Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>LAUNCH-Tools</title>
<%= stylesheet_link_tag "blueprint/screen", :media => 'screen' %>
<%= stylesheet_link_tag "blueprint/print", :media => 'print' %>
<!--[if lt IE 8]> <%= stylesheet_link_tag "blueprint/ie", :media => 'screen' %> <![endif]-->
<div id='goals'>
<div id='goal_32'>
<h3>
<a href="/goals/32/edit">Save $2000</a>
</h3>
//INSERT RESULT FROM EDIT HERE
<form action="/goals/32/steps" class="formtastic step" id="new_step" method="post">
<fieldset class="inputs">
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 364 100 364 0 0 1406 0 --:--:-- --:--:-- --:--:-- 3370
Initialized empty Git repository in /Users/dc/.rvm/src/rvm/.git/
remote: Counting objects: 13450, done.
remote: Compressing objects: 100% (3304/3304), done.
remote: Total 13450 (delta 8882), reused 13364 (delta 8796)
Receiving objects: 100% (13450/13450), 2.39 MiB | 1.44 MiB/s, done.
Resolving deltas: 100% (8882/8882), done.
: command not foundline 2:
david-chapmans-macbook:~ dc$ mate .
2011-04-30 16:06:41.198 mate[649:903] An uncaught exception was raised
2011-04-30 16:06:41.236 mate[649:903] connection went invalid while waiting for a reply
2011-04-30 16:06:41.237 mate[649:903] *** Terminating app due to uncaught exception 'NSInvalidReceivePortException', reason: 'connection went invalid while waiting for a reply'
*** Call stack at first throw:
(
0 CoreFoundation 0x963c56ba __raiseError + 410
1 libobjc.A.dylib 0x91291509 objc_exception_throw + 56
2 CoreFoundation 0x963c53e8 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x963c535a +[NSException raise:format:] + 58
david-chapmans-macbook:launchtools dc$ rails s
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/Users/dc/.rvm/gems/ruby-1.9.2-p180@launch3/gems/actionpack-3.0.7/lib/action_view/paths.rb:7:in `push': can't modify frozen array (RuntimeError)
from /Users/dc/.rvm/gems/ruby-1.9.2-p180@launch3/gems/actionpack-3.0.7/lib/action_view/paths.rb:7:in `push'
from /Users/dc/launchtools/vendor/plugins/map-fields/lib/map_fields.rb:198:in `<top (required)>'
from /Users/dc/.rvm/gems/ruby-1.9.2-p180@launch3/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in `require'
david-chapmans-macbook:launchtools dc$ rails s
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** [NewRelic] New Relic RPM Agent 2.12.3 Initialized: pid = 1248
** [NewRelic] Agent Log found in /Users/dc/launchtools/log/newrelic_agent.log
ApplicationController is defined
Exiting
/Users/dc/launchtools/config/initializers/load_app_config.rb:1:in `read': No such file or directory - /config/app_config.yml (Errno::ENOENT)
raw_config = File.read(Rails.root + "/config/app_config.yml")
APP_CONFIG = YAML.load(raw_config)[Rails.env].symbolize_keys
# Before Rails 3
# raw_config = File.read(RAILS_ROOT + "/config/app_config.yml")
# APP_CONFIG = YAML.load(raw_config)[RAILS_ENV].symbolize_keys
= semantic_form_for [@goal, @step], :url => goal_step_path(@goal, @step) do |f|
= f.inputs :id => "step_#{@step.id}_description", :class => "description" do
= f.input :description, :input_html => { :autofocus => "autofocus"}
= f.inputs :date_due, :as => :string, :for => :due_date, :input_html => { :class => "datepicker"}, :label => "Due Date"
= f.buttons do
= f.commit_button
or
= link_to "Cancel", "#goal_#{@goal.id}", :class => "step_edit_cancel"
@d3chapma
d3chapma / The Error
Created December 30, 2011 20:17
Request and Error when I try to visit the homepage
Started GET "/" for 127.0.0.1 at 2011-12-30 15:01:53 -0500
Processing by HomeController#index as HTML
News Load (0.7ms) SELECT `items`.* FROM `items` WHERE `items`.`type` IN ('News') AND (sponsored = 1 AND active = 1 AND temp = 0 AND avatar_id is not null) ORDER BY created_at desc LIMIT 3
News Load (0.6ms) SELECT `items`.* FROM `items` WHERE `items`.`type` IN ('News') ORDER BY created_at desc LIMIT 3
Completed 200 OK in 74ms (Views: 3.0ms | ActiveRecord: 62.6ms | Sphinx: 0.0ms)
cache: [GET /] miss
Dalli::Server#connect 127.0.0.1:11211
127.0.0.1:11211 failed (count: 2)
127.0.0.1:11211 is still down (for 74.233 seconds now)
Resource Load (1.8ms) SELECT `resources`.* FROM `resources` WHERE `resources`.`title` = 'Home' LIMIT 1
ActionController::RoutingError in Invitations#new
Showing /Users/dc/launchtools/app/views/invitations/new.html.haml where line #29 raised:
No route matches {:action=>"edit", :controller=>"emails", :organization_id=>#<Organization id: 4, name: "Launch", created_at: "2011-09-01 20:25:42", updated_at: "2011-09-01 20:25:42", description: "", coach_title: nil, student_title: nil, block_feedback: false, subdomain: "launch", logo: "launch.png">}
Extracted source (around line #29):
26: |
27: = link_to 'Back to Group', group_path(@affiliation)
28: |