Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve first run project setup #64

Merged
merged 1 commit into from
Apr 12, 2017
Merged

Conversation

jason-o-matic
Copy link
Member

The tests depend on vagrant and virtualbox, but they weren't specified
in script/setup so you couldn't run the tests immediately after setup.

This also fixes an error with the initial bundle install:

[master] instrumentald $ ./script/setup
Fetching gem metadata from https://rubygems.org/.......
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies........
Your lockfile was created by an old Bundler that left some things out.
You can fix this by adding the missing gems to your Gemfile, running
bundle install, and then removing the gems from your Gemfile.
The missing gems are:
* CFPropertyList depended upon by facter
* CFPropertyList depended upon by puppet
…
fatal: No live threads left. Deadlock?

/Users/jason/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.14.2/lib/bundler/worker.rb:43:in
`pop'

/Users/jason/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.14.2/lib/bundler/worker.rb:43:in
`deq’
…
Unfortunately, an unexpected error occurred, and Bundler cannot
continue.

Adding CFPropertyList to the gemfile fixes this. Contrary to the
directions, then removing the gems doesn't work, so it stays for now.

The tests depend on vagrant and virtualbox, but they weren't specified
in `script/setup` so you couldn't run the tests immediately after setup.

This also fixes an error with the initial `bundle install`:

```
[master] instrumentald $ ./script/setup
Fetching gem metadata from https://rubygems.org/.......
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies........
Your lockfile was created by an old Bundler that left some things out.
You can fix this by adding the missing gems to your Gemfile, running
bundle install, and then removing the gems from your Gemfile.
The missing gems are:
* CFPropertyList depended upon by facter
* CFPropertyList depended upon by puppet
…
fatal: No live threads left. Deadlock?

/Users/jason/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.14.2/lib/bundler/worker.rb:43:in
`pop'

/Users/jason/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/bundler-1.14.2/lib/bundler/worker.rb:43:in
`deq’
…
Unfortunately, an unexpected error occurred, and Bundler cannot
continue.
```

Adding CFPropertyList to the gemfile fixes this. Contrary to the
directions, then removing the gems doesn't work, so it stays for now.
@mediocretes
Copy link
Contributor

👍 much smoother for future Nate.

@jason-o-matic jason-o-matic merged commit bc7e576 into master Apr 12, 2017
@mediocretes
Copy link
Contributor

I had some verify failures with puppet, but, no more than I did previously... I'll investigate.

@mediocretes
Copy link
Contributor

(the things that are still broken are fixed in #65)

@tonydewan tonydewan deleted the improve_project_setup branch April 13, 2017 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants