Closed DanS closed 10 years ago
Looks like soloist isn't happy with the newer Ruby version being used.
Can you try making sure the system ruby is used?
RVM should generally respect a .ruby-version file with 'system' specified.
On Sunday, May 25, 2014, DanS notifications@github.com wrote:
I always get this error when trying to use sprout-wrap. Xcode, xcode command line tools, rvm and homebrew have been installed, otherwise this is a completely clean install of Mavericks.
- execute cd /usr/local; git clean -fd
- ruby_block[Check that homebrew is running & working] action run[2014-05-25T09:44:52-07:00] INFO: Processing ruby_block[Check that homebrew is running & working] action run (sprout-base::homebrew line 36) /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/dsl.rb:39:in
eval_gemfile': Gemfile syntax error compile error (Bundler::GemfileError) on line 3: syntax error, unexpected ':', expecting $end gem 'soloist', require: false ^ from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/dsl.rb:10:in
evaluate' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/definition.rb:26:inbuild' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler.rb:153:in
definition' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler.rb:116:in `setup' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/setup.rb:17Error executing action
run
on resource 'ruby_block[Check that homebrew is running & working]'RuntimeError
Couldn't find brew
Cookbook Trace:
/Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:40:in `block (2 levels) in from_file'
Resource Declaration:
In /Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb
36: ruby_block "Check that homebrew is running & working" do 37: block do 38:
brew --version
39: if $? != 0 40: raise "Couldn't find brew" 41: end 42: end 43: endCompiled Resource:
Declared in /Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:36:in `from_file'
ruby_block("Check that homebrew is running & working") do action "run" retries 0 retry_delay 2 block_name "Check that homebrew is running & working" cookbook_name :"sprout-base" recipe_name "homebrew" block #Proc:0x00000105b63130@/Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:37 end
[2014-05-25T09:44:52-07:00] INFO: Running queued delayed notifications before re-raising exception [2014-05-25T09:44:52-07:00] ERROR: Running exception handlers [2014-05-25T09:44:52-07:00] ERROR: Exception handlers complete [2014-05-25T09:44:52-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out Chef Client failed. 21 resources updated [2014-05-25T09:44:52-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
— Reply to this email directly or view it on GitHubhttps://github.com/pivotal-sprout/sprout-wrap/issues/50 .
It's a bug with the Opscode homebrew chef cookbook.
https://github.com/opscode-cookbooks/homebrew/pull/28
Grant Hutchins
On May 25, 2014, at 1:31 PM, Abhi Hiremagalur notifications@github.com wrote:
Looks like soloist isn't happy with the newer Ruby version being used.
Can you try making sure the system ruby is used?
RVM should generally respect a .ruby-version file with 'system' specified.
On Sunday, May 25, 2014, DanS notifications@github.com wrote:
I always get this error when trying to use sprout-wrap. Xcode, xcode command line tools, rvm and homebrew have been installed, otherwise this is a completely clean install of Mavericks.
- execute cd /usr/local; git clean -fd
- ruby_block[Check that homebrew is running & working] action run[2014-05-25T09:44:52-07:00] INFO: Processing ruby_block[Check that homebrew is running & working] action run (sprout-base::homebrew line 36) /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/dsl.rb:39:in
eval_gemfile': Gemfile syntax error compile error (Bundler::GemfileError) on line 3: syntax error, unexpected ':', expecting $end gem 'soloist', require: false ^ from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/dsl.rb:10:in
evaluate' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/definition.rb:26:inbuild' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler.rb:153:in
definition' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler.rb:116:in `setup' from /Users/dan/.rvm/gems/ruby-2.1.2@global/gems/bundler-1.6.2/lib/bundler/setup.rb:17Error executing action
run
on resource 'ruby_block[Check that homebrew is running & working]'RuntimeError
Couldn't find brew
Cookbook Trace:
/Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:40:in `block (2 levels) in from_file'
Resource Declaration:
In /Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb
36: ruby_block "Check that homebrew is running & working" do 37: block do 38:
brew --version
39: if $? != 0 40: raise "Couldn't find brew" 41: end 42: end 43: endCompiled Resource:
Declared in /Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:36:in `from_file'
ruby_block("Check that homebrew is running & working") do action "run" retries 0 retry_delay 2 block_name "Check that homebrew is running & working" cookbook_name :"sprout-base" recipe_name "homebrew" block #Proc:0x00000105b63130@/Users/dan/code/sprout-wrap/cookbooks/sprout-base/recipes/homebrew.rb:37 end
[2014-05-25T09:44:52-07:00] INFO: Running queued delayed notifications before re-raising exception [2014-05-25T09:44:52-07:00] ERROR: Running exception handlers [2014-05-25T09:44:52-07:00] ERROR: Exception handlers complete [2014-05-25T09:44:52-07:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out Chef Client failed. 21 resources updated [2014-05-25T09:44:52-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
— Reply to this email directly or view it on GitHubhttps://github.com/pivotal-sprout/sprout-wrap/issues/50 .
— Reply to this email directly or view it on GitHub.
Thanks for the amazingly prompt responses. Running against system ruby allows soloist to run without error.
I always get this error when trying to use sprout-wrap. Xcode, xcode command line tools, rvm and homebrew have been installed, otherwise this is a completely clean install of Mavericks.