Opened 11 years ago
Last modified 9 years ago
#43225 new submission
[new] rb-vagrant
Reported by: | jul_bsd@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | cooljeanius (Eric Gallager), seh@… | |
Port: | rb-vagrant |
Description
tool for building and distributing working environments
- basic Portfile
- need udate rb19-bundler
- please review build process w bundler and rake, not sure if there is any Portgroup in this case
Attachments (1)
Change History (7)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | haspatch removed |
---|
comment:2 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:4 Changed 11 years ago by jul_bsd@…
Cool! For now I didn't do much as it needs an updated bundler (#43224 - not working for now). There is also docker in the same kind I'm interested in but it would be a go compiler group which I'm not sure there is. I set rake and bundler stuff but I don't know if there is a preferred way for macports and couldn't test it because of bundler but documentation says it installs like this.
Changed 10 years ago by jul_bsd@…
Note: See
TracTickets for help on using
tickets.
I had actually started work on my own copy of a Portfile for vagrant, but never got it working well enough to submit: https://github.com/cooljeanius/LocalPorts/blob/master/ruby/rb-vagrant/Portfile
Differences I have noticed between our Portfiles:
ruby.setup
line remains un-commented-out, so I assume that that means that it works:categories-append
instead of justcategories
because the ruby portgroup already adds theruby
category by default. Also the categories that I append aredevel
andemulators
instead ofsysutils
, but I guess that is mostly just a matter of personal preference...rb19-rake
port was added, and as such were able to work around the whole issue of using multiple versions of ruby that I was running into... although if this port is now using the ruby from the ruby19 port, it should probably be now calledrb19-vagrant
instead of justrb-vagrant
...bin:
-style dependency for VirtualBox, because VirtualBox drags inqt4-mac
, which is humongous, and VirtualBox is also humongous in its own right. Using abin:
-style dependency allows me to just use the binary installer from the VirtualBox website if I am in too much of a hurry to compile all of its dependencies with MacPorts.