Skip to content

Instantly share code, notes, and snippets.

@soilforlifeforms
Created February 14, 2014 12:54
Show Gist options
  • Select an option

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

Select an option

Save soilforlifeforms/9000498 to your computer and use it in GitHub Desktop.
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
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-1346-dod18s/Gemfile:75:in `evaluate': undefined method `ruby' for #<Bundler::Dsl:0x00000001031ff0> (NoMethodError) (RuntimeError)
/opt/cloudfoundry/runtimes/ruby-1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/dsl.rb:7:in `instance_eval'
/opt/cloudfoundry/runtimes/ruby-1.9.3-p125/lib/ruby/gems/1.9.1/gems/bundler-1.1.3/lib/bundler/dsl.rb:7:in `evaluate'
/opt/cloudfoundry/runtimes/ruby-1.9.3-p125/lib/ruby/gems/1.9.1/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:in `block in <main>'
/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:in `<main>'
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