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 PasswordKeysController < ApplicationController | |
skip_before_filter :login_required | |
resource_controller | |
actions :new, :create, :show | |
create.response do | |
user = User.find_by_login(params[:login]) unless params[:login].blank? | |
end | |
new_action.response 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
>> () ~/Dev/RHT/steamcannon [master] << | |
$ rake torquebox:server:run | |
(in /Users/lanceball/Dev/RHT/steamcannon) | |
rake aborted! | |
no such file to load -- torquebox/tasks | |
/Users/lanceball/Dev/RHT/steamcannon/rakefile:10 | |
(See full trace by running task with --trace) | |
>> () ~/Dev/RHT/steamcannon [master] << | |
$ which rake |
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
>> () ~/Dev/RHT/steamcannon [master] << | |
$ rake db:reset | |
(in /Users/lanceball/Dev/RHT/steamcannon) | |
Couldn't drop steamcannon_dev : #<NameError: uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::PGconn> | |
uninitialized constant ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::PGconn | |
/Users/lanceball/Dev/RHT/torquebox/torquebox-1.0.0.Beta22-SNAPSHOT/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:105:in `const_missing' | |
/Users/lanceball/Dev/RHT/torquebox/torquebox-1.0.0.Beta22-SNAPSHOT/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:941:in `connect' | |
/Users/lanceball/Dev/RHT/torquebox/torquebox-1.0.0.Beta22-SNAPSHOT/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize' | |
/Users/lanceball/Dev/RHT/torquebox/torquebox-1.0.0.Beta22-SNAPSHOT/jruby/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/connection_adapte |
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
>> (jruby-jruby@steamcannon) ~/Dev/RHT/steamcannon [master *%] << | |
$ autospec | |
loading autotest/rails_rspec | |
style: RailsRspec | |
Loaded suite /Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/bin/autotest | |
Started | |
Finished in 0.002 seconds. | |
0 tests, 0 assertions, 0 failures, 0 errors |
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
jruby-1.5.2 > cert = Certificate.encryption_certificate | |
=> #<Certificate id: 2, cert_type: "encryption", certificate: "-----BEGIN CERTIFICATE-----\nMIICGDCCAYGgAwIBAgIBATA...", keypair: "-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDPGft...", certifiable_id: nil, certifiable_type: nil, created_at: "2010-09-20 15:27:11", updated_at: "2010-09-20 15:27:11"> | |
jruby-1.5.2 > key = OpenSSL::PKey::RSA.new(cert.keypair) | |
=> -----BEGIN RSA PRIVATE KEY----- | |
MIICXAIBAAKBgQDPGftAoYSAaHKOqcswBaIoVMgQKuNFlP4heFu6agbX3vMH5D4T | |
JQvJE6MFks5XwBq28IHIxUWAwbWnGRnRKdWWOAzSYpt6naQrqpZ58x05YvY+6aBZ | |
d9kSHP9dR/nGqsyyghVs1esbcOFqEG5zRmGeQUmfx+8iAedGEM3oFxwVUwIDAQAB | |
AoGAYuAbpaK3ePrk3pnQCVBXN/wqPBXNxfW5Us98s8ZVGBE4ZKciv88rDkgSx+Fs | |
JFbyKi8vN2R/p1ZUXL/OJJ9deevOIfdhDDbiaicmnMsfF6fD2ypKK7RwlT7oOPb1 | |
ThJ4ssMNkvcdAf7YBgLG8wwM1t0cfrk2VuXDF3yJiXJsrlkCQQDo0kOU/M7PAUy7 |
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
15:44:15,839 ERROR [org.quartz.core.JobRunShell] Job vfs:///Users/lanceball/Dev/RHT/steamcannon/.instance.watcher threw an unhandled Exception: : org.jruby.exceptions.RaiseException: You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.include? | |
at Kernel.raise(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activesupport-2.3.8/lib/active_support/whiny_nil.rb:62) at | |
NilClass.raise_nil_warning_for(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activesupport-2.3.8/lib/active_support/whiny_nil.rb:50) at | |
NilClass.method_missing(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activerecord-2.3.8/lib/active_record/attribute_methods.rb:142) at | |
ActiveRecord::AttributeMethods::ClassMethods.create_time_zone_conversion_attribute?(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activerecord-2.3.8/lib/active_record/attribute_methods.rb:75) at | |
ActiveRecord::AttributeMethods::ClassMethods.define_attribut |
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
15:44:33,173 ERROR [org.quartz.core.JobRunShell] Job vfs:///Users/lanceball/Dev/RHT/steamcannon/.instance.watcher threw an unhandled Exception: : org.jruby.exceptions.RaiseException: undefined method `certificate' for nil:NilClass | |
at Kernel.method_missing(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activesupport-2.3.8/lib/active_support/whiny_nil.rb:52) at | |
NilClass.method_missing(vfs:/Users/lanceball/Dev/RHT/steamcannon/app/models/agent_client.rb:165) at | |
AgentClient.configure_agent(vfs:/Users/lanceball/Dev/RHT/steamcannon/app/models/agent_client.rb:36) at | |
AgentClient.agent_status(vfs:/Users/lanceball/Dev/RHT/steamcannon/app/models/instance.rb:143) at | |
Instance.agent_running?(vfs:/Users/lanceball/Dev/RHT/steamcannon/app/models/instance.rb:117) at | |
Instance.configure_agent(vfs:/Users/lanceball/Dev/RHT/steamcannon/app/jobs/instance_watcher.rb:36) at | |
InstanceWatcher.update_configuring(/Users/lanceball/.rvm/gems/jruby-1.5.2@steamcannon/gems/activerecord-2.3.8/lib/active_record/named_scope.r |
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
$ thin -c config/thin/development.yaml start | |
/Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/gems/thin-1.2.8/lib/thin/runner.rb:173:in `chdir': Not a directory - /Users/lanceball/Dev/RHT/steamcannon-agent/config/thin/development.yaml (Errno::ENOTDIR) | |
from /Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/gems/thin-1.2.8/lib/thin/runner.rb:173:in `run_command' | |
from /Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/gems/thin-1.2.8/lib/thin/runner.rb:153:in `run!' | |
from /Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/gems/thin-1.2.8/bin/thin:6 | |
from /Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/bin/thin:19:in `load' | |
from /Users/lanceball/.rvm/gems/ree-1.8.7-2010.02@steamcannon-agent/bin/thin:19 |
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
-bash-4.1# cat /var/log/steamcannon-agent/agent.log | |
>> Writing PID to /var/run/steamcannon-agent.pid | |
/usr/lib/ruby/gems/1.8/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:50: warning: parenthesize argument(s) for future version | |
I, [2010-09-22 12:40:43 #782] INFO -- : Discovering platform... | |
D, [2010-09-22 12:40:43 #782] DEBUG -- : Discovering if we're on EC2... | |
T, [2010-09-22 12:40:43 #782] TRACE -- : GET: http://169.254.169.254/1.0/meta-data/local-ipv4 | |
D, [2010-09-22 12:40:43 #782] DEBUG -- : Yes, we're on EC2. | |
I, [2010-09-22 12:40:43 #782] INFO -- : Initializing SteamCannon Agent... | |
T, [2010-09-22 12:40:43 #782] TRACE -- : Agent config: | |
--- !map:OpenHash |
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
foobar |
OlderNewer