Skip to content

Instantly share code, notes, and snippets.

View soilforlifeforms's full-sized avatar

Ryan Vermooten soilforlifeforms

View GitHub Profile
[samanthajones@Samanthas-iMac dummy]$ af push
Would you like to deploy from the current directory? [Yn]: y
Pushing application 'mxit-rails-master'...
Creating Application: OK
Binding Service [forms_database]: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (361K): OK
source "http://rubygems.org"
# Declare your gem's dependencies in mxit-rails.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
gem "surveyor"
#require 'mongo'
[samanthajones@Samanthas-iMac dummy]$ af push mxitsflforms --runtime ruby193
Would you like to deploy from the current directory? [Yn]: y
Pushing application 'mxit-rails-master'...
Creating Application: OK
Binding Service [forms_database]: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (692K): OK
samanthajones@Samanthas-iMac dummy]$ af push mxitsflforms --runtime ruby193
Would you like to deploy from the current directory? [Yn]: y
Pushing application 'mxit-rails-master'...
Creating Application: OK
Binding Service [forms_database]: OK
Uploading Application:
Checking for available resources: OK
Processing resources: OK
Packing application: OK
Uploading (692K): OK
source "http://rubygems.org"
# Declare your gem's dependencies in mxit-rails.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
gem "surveyor"
#require 'mongo'
amanthajones@Samanthas-iMac mxit-rails-master]$ heroku restart
Restarting dynos... failed
! App not found
[samanthajones@Samanthas-iMac mxit-rails-master]$ git push heroku master
! No such app as secure-coast-1448.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
samanthajones@Samanthas-iMac dummy]$ git config -e
E325: ATTENTION
Found a swap file by the name "~/Documents/Ryan_ROR/mxit-rails-master/.git/.config.swp"
owned by: samanthajones dated: Wed Feb 12 13:29:43 2014
rake aborted!
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/app/vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.15/lib/mysql2/client.rb:67:in `connect'
/app/vendor/bundle/ruby/1.9.1/gems/mysql2-0.3.15/lib/mysql2/client.rb:67:in `initialize'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `new'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `mysql2_connection'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:309:in `new_connection'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:319:in `checkout_new_connection'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:241:in `block (2 levels) in checkout'
/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3
[samanthajones@Samanthas-iMac mxit-rails-master]$ heroku run rake db:migrate
Running `rake db:migrate` attached to terminal... up, run.4184
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/test/dummy/Rakefile:7)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/test/dummy/Rakefile:7)
Connecting to da
[samanthajones@Samanthas-iMac dummy]$ rails s
=> Booting Thin
=> Rails 3.2.8 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
SECURITY WARNING: No secret option provided to Rack::Session::Cookie.
This poses a security threat. It is strongly recommended that you
provide a secret to prevent exploits that may be possible from crafted
cookies. This will not be supported in future versions of Rack, and
future versions will even invalidate your existing user cookies.