Giter Site home page Giter Site logo

Generated projects are unusable about omnibus HOT 1 CLOSED

lusis avatar lusis commented on July 28, 2024
Generated projects are unusable

from omnibus.

Comments (1)

sethvargo avatar sethvargo commented on July 28, 2024

Hey @lusis!

I'm really sorry you are having problems. I reached out via the Twitters, but I'm not sure you saw it yet. I'll respond here for history.

When you generate a new Omnibus project, it now includes a Gemfile that lists all of the gems and their versions that work with the project. You can see that the Gemfile does include a beta version of Berkshelf in it's dependency declaration.

The generated Berksfile evidently doesn't work with any released version of Berkshelf?

This is 100% correct. It only works with a pre-released version at this time. However, that pre-release version is automatically pulled in for you behind the scenes - you shouldn't have to worry about it. That version of Berkshelf is also slated to be released in less than 24 hours barring any major issues.

From the generated Installation Instructions in the project README, you can see that we recommend using bundler and installing with binstubs:

Installation
------------
You must have a sane Ruby 1.9+ environment with Bundler installed. Ensure all
the required gems are installed:

$ bundle install --binstubs

This will automatically pull in Berkshelf 3 + required deps + put all the stubs in ./bin. Later, you can see that we recommend running kitchen with bundle exec:

$ bundle exec kitchen converge ubuntu-12.04

This will make sure Test Kitchen is using the correct version of Berkshelf. I just performed all these steps locally and verified that it does work as intended.


I think the confusion lies in the fact that we changed the way omnibus works. You were one of the early adopters of the Omnibus Way™, and we broke your mental model of how the project should work. No matter how much documentation we provided, that was still going to happen, and I'm really sorry about that. I'm happy to hop on a Hangout and walk you through it if you want.

from omnibus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.