Skip to content

Instantly share code, notes, and snippets.

@soilforlifeforms
Created February 14, 2014 09:23
Show Gist options
  • Select an option

  • Save soilforlifeforms/8998197 to your computer and use it in GitHub Desktop.

Select an option

Save soilforlifeforms/8998197 to your computer and use it in GitHub Desktop.
[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
Push Status: OK
Staging Application 'mxit-rails-master': .........Error 310: Staging failed: 'Staging task failed:
Staging plugin failed: /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:325:in `log_and_raise_error': Error resolving Gemfile: /tmp/d20140214-8247-lg09pd/Gemfile:76:in `evaluate': undefined method `ruby' for #<Bundler::Dsl:0x7f55082981c8> (NoMethodError) (RuntimeError)
/opt/cloudfoundry/runtimes/ruby-1.8.7-p334/lib/ruby/gems/1.8/gems/bundler-1.1.3/lib/bundler/definition.rb:18:in `build'
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_parser.rb:30:in `bundle_definition'
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_parser.rb:42:in `specs'
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_parser.rb:102
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_parser.rb:101:in `open'
/opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_parser.rb:101
Error parsing Gemfile: There was an error in your Gemfile, and Bundler cannot continue.
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:50:in `specs'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_task.rb:57:in `install'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/gemfile_support.rb:21:in `compile_gems'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/standalone/plugin.rb:20:in `runtime_specific_staging'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/standalone/plugin.rb:11:in `block in stage_application'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/standalone/plugin.rb:6:in `chdir'
from /opt/cloudfoundry/vcap/staging/lib/vcap/staging/plugin/standalone/plugin.rb:6:in `stage_application'
from /opt/cloudfoundry/vcap/stager/bin/run_plugin:19:in `<main>'
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment