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
cs = OpenStack::Compute::Connection.new(:username => USERNAME, :api_key => API_KEY, :authtenant => TENANT, :auth_url => API_URL) | |
NameError: uninitialized constant OpenStack | |
from (irb):1 | |
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:47:in `start' | |
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:8:in `start' | |
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:41:in `<top (required)>' | |
from script/rails:6:in `require' | |
from script/rails:6:in `<main>' | |
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
I. Format All Emails | |
a. Confirmation Email (with plan pricing, when your CC will be charged) | |
b. Notification email-- | |
II. Add facebook/Tweet button to "thank you page" | |
III. Wire up dashboard | |
IV. openstack vs cloudservers GEM | |
a. UK vs US integration |
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
#!/bin/bash | |
git add --all | |
git commit -am $1 | |
git push origin master | |
git push live master | |
cap deploy:update | |
cap deploy:migrate | |
cap deploy:cleanup -s keep_releases=1 | |
cap deploy:restart |
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
// This is a manifest file that'll be compiled into application.js, which will include all the files | |
// listed below. | |
// | |
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | |
// | |
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
// the compiled file. | |
// | |
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
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 'bundler/capistrano' | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
require "capistrano-resque" | |
set :rake, "/home/git/.rvm/gems/ruby-1.9.3-p194@global/bin/rake" | |
set :application, "Cloud Poker Database" | |
set :repository, "ssh://git@50.56.174.223/home/git/cloud_poker_db_source/" |
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 'bundler/capistrano' | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
require "capistrano-resque" | |
set :rake, "/home/git/.rvm/gems/ruby-1.9.3-p194@global/bin/rake" | |
set :application, "Cloud Poker Database" | |
set :repository, "ssh://git@50.56.174.223/home/git/cloud_poker_db_source/" |
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
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ git push live master | |
git@50.56.174.223's password: | |
Everything up-to-date | |
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ vi config/deploy.rb | |
anthony@localhost:~/rails_projects/CLOUD_POKER_DB$ cap deploy:update | |
* executing `deploy:update' | |
** transaction: start | |
* executing `deploy:update_code' | |
executing locally: "git ls-remote ssh://git@50.56.174.223/home/git/cloud_poker_db_source/ master" | |
git@50.56.174.223's password: |
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
user git; | |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { |
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
DEPRECATION WARNING: ActiveAdmin::Dashboard is deprecated and will be removed in the next version | |
Exiting | |
/home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/associations/builder/collection_association.rb:35:in `[]': can't convert Symbol into Integer (TypeError) | |
from /home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/associations/builder/collection_association.rb:35:in `wrap_block_extension' | |
from /home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/associations/builder/collection_association.rb:22:in `build' | |
from /home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/autosave_association.rb:139:in `build' | |
from /home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/associations/builder/has_many.rb:10:in `build' | |
from /home/test/.rvm/gems/ruby-1.9.3-rc1/gems/activerecord-3.2.3/lib/active_record/associations/builder/collection_association.rb:13:in `build' | |
from /home/test/.rvm/gems/ruby |
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
@provisioned_server = rackspace.create_server(:name => name, :imageId => '125' , :flavorId => @plan.to_i) |