Skip to content

Instantly share code, notes, and snippets.

@MichaelMartinez
MichaelMartinez / bundle.bash
Created June 27, 2012 21:57
Bundle commands AppFog
$ bundle package
$ bundle install
$ af push <appname> --runtime=ruby193
@MichaelMartinez
MichaelMartinez / database.yml
Created June 27, 2012 21:23
Database YAML file AppFog-RoR
# comment out when working locally
# un-comment this for deployment
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
# un-comment this when working locally
@MichaelMartinez
MichaelMartinez / support.md
Created June 26, 2012 18:40
Support thread on AppFog for Lucas

Request #3088 gisticle.aws.af.cm

Michael Martinez Jun 23 10:41

Hi Support!

I am having trouble starting my application here is the gist of the problem; https://gist.github.com/2976740

@MichaelMartinez
MichaelMartinez / precomp.md
Created June 26, 2012 17:34
Precompile Problem
michaelmartinez in ~/Sites/RailsLearning/Gisticle on master !
± af logs gisticl                                                                                                                                                                                                                     10:01
zsh: correct 'logs' to 'log' [nyae]? n

====> /logs/console.log <====

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /var/vcap.local/dea/apps/gisticl-0-55708dc14b1329ebda1393210735c3b4/app/rubygems/ruby/1.9.1/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
@MichaelMartinez
MichaelMartinez / db.yml
Created June 26, 2012 17:09
db yml file for AppFog
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
#development:
# adapter: mysql2
# encoding: utf8
# reconnect: false
@MichaelMartinez
MichaelMartinez / cmdlineerror.md
Created June 25, 2012 05:11
Bootstrap AppFog Rails App error
michaelmartinez in ~/Sites/RailsLearning/Gisticle on master !
± af update gisti                                                                                                                                                                                                                     22:05
Uploading Application:
  Checking for available resources: OK
  Processing resources: OK
  Packing application: OK
  Uploading (161K): OK   
Push Status: OK
Stopping Application 'gisti': OK
@MichaelMartinez
MichaelMartinez / cmdline.md
Created June 25, 2012 05:00
Appfog Error
zsh: correct 'logs' to 'log' [nyae]? n
====> /logs/console.log <====

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /var/vcap.local/dea/apps/gisticle-0-35ff0a84529c12f8f6397ff66bad8c4c/app/rubygems/ruby/1.8/gems/bundler-1.0.10/lib/bundler/shared_helpers.rb:3.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /var/vcap.local/dea/apps/gisticle-0-35ff0a84529c12f8f6397ff66bad8c4c/app/rubygems/ruby/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /var/vcap.local/dea/apps/gisticle-0-35ff0a84529c12f8f6397ff66bad8c4c/app/rubygems/ruby/1.8/gems/bundler-1.0.10/lib/bundler/source.rb:162.
@MichaelMartinez
MichaelMartinez / gemenv.md
Created June 24, 2012 20:44
AppFog Request

gem env

michaelmartinez in ~/Sites/RailsLearning/Gisticle on master !
± gem env                                                                 13:40
RubyGems Environment:
  - RUBYGEMS VERSION: 1.8.24
  - RUBY VERSION: 1.9.3 (2012-02-16 patchlevel 125) [x86_64-darwin10.8.0]
  - INSTALLATION DIRECTORY: /Users/michaelmartinez/.rvm/gems/ruby-1.9.3-p125@gisticle
 - RUBY EXECUTABLE: /Users/michaelmartinez/.rvm/rubies/ruby-1.9.3-p125/bin/ruby
@MichaelMartinez
MichaelMartinez / cmdline2.md
Created June 23, 2012 03:52
AppFog not working
Adding github_api-0.5.1.gem to app...
Adding hashie-1.2.0.gem to app...
Adding hike-1.2.1.gem to app...
Adding i18n-0.6.0.gem to app...
Adding journey-1.0.4.gem to app...
Adding jquery-rails-2.0.2.gem to app...
Adding json-1.7.3.gem to app...
Adding mail-2.4.4.gem to app...
Adding markitup_rails3-0.2.4.gem to app...