Does anyone know if it is possible (and if so, how?) to build an rpm of a
rubygem, specifically for use in the omnibus install?
For example. I would like to push out rubygem-shadow, but don’t wish to
compile it on every server.
Thanks
Tom
Does anyone know if it is possible (and if so, how?) to build an rpm of a
rubygem, specifically for use in the omnibus install?
For example. I would like to push out rubygem-shadow, but don’t wish to
compile it on every server.
Thanks
Tom
It should be in 10.14.
On Fri, Aug 17, 2012 at 9:52 AM, Tom tom.ashley@gmail.com wrote:
Does anyone know if it is possible (and if so, how?) to build an rpm of a
rubygem, specifically for use in the omnibus install?For example. I would like to push out rubygem-shadow, but don't wish to
compile it on every server.Thanks
Tom
superb. thanks!
On 17 August 2012 15:03, Mike miketheman@gmail.com wrote:
It should be in 10.14.
On Fri, Aug 17, 2012 at 9:52 AM, Tom tom.ashley@gmail.com wrote:
Does anyone know if it is possible (and if so, how?) to build an rpm of a
rubygem, specifically for use in the omnibus install?For example. I would like to push out rubygem-shadow, but don't wish to
compile it on every server.Thanks
Tom
I rolled out rubygem-shadow using fpm.
It’s pretty simple, you just need to use the --gem-gem (I think) option, and
point it to the gem binary in the omnibus root. I also pass in a bunch of
options to set names appropriately (I compile several RPMs of gems this way).
If you have any questions, lemme know.
–
Phil Dibowitz phil@ipom.com
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
“Be who you are and say what you feel, because those who mind don’t matter
and those who matter don’t mind.”
Can anyone write some verbose flow of doing such thing for Ubuntu?
There is this post http://jtimberman.housepub.org/blog/2011/04/02/debian-ubuntu-package-for-ruby-1-9-2-with-fpm/
But its too silent. Which ubuntu box to use, where gets that .deb generated and saved? Where to add the apt-repo and how to use/install it on the new box?
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, August 17, 2012 at 9:56 PM, Phil Dibowitz wrote:
I rolled out rubygem-shadow using fpm.
It's pretty simple, you just need to use the --gem-gem (I think) option, and
point it to the gem binary in the omnibus root. I also pass in a bunch of
options to set names appropriately (I compile several RPMs of gems this way).If you have any questions, lemme know.
--
Phil Dibowitz phil@ipom.com (mailto:phil@ipom.com)
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
- Dr. Seuss
On 08/17/2012 09:52 AM, Sachin Sagar Rai wrote:
Can anyone write some verbose flow of doing such thing for Ubuntu?
There is this
post http://jtimberman.housepub.org/blog/2011/04/02/debian-ubuntu-package-for-ruby-1-9-2-with-fpm/
But its too silent. Which ubuntu box to use, where gets that .deb generated
and saved? Where to add the apt-repo and how to use/install it on the new box?
It doesn't matter where (what box) you make it.
FPM drops the resulting package in your current working directory.
You can install a package with "dpkg -i ", or if you have a local apt
repo, you drop it in and rebuild your apt metadata (that's behind the scope of
"build a package", there's many HOWTOs on how to build an apt repo).
--
Phil Dibowitz phil@ipom.com
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/
"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
Thanks for the reply!
@millisami
~ Sachin Sagar Rai
Ruby on Rails Developer
http://tfm.com.np
http://nepalonrails.tumblr.com
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Friday, August 17, 2012 at 11:08 PM, Phil Dibowitz wrote:
On 08/17/2012 09:52 AM, Sachin Sagar Rai wrote:
Can anyone write some verbose flow of doing such thing for Ubuntu?
There is this
post http://jtimberman.housepub.org/blog/2011/04/02/debian-ubuntu-package-for-ruby-1-9-2-with-fpm/
But its too silent. Which ubuntu box to use, where gets that .deb generated
and saved? Where to add the apt-repo and how to use/install it on the new box?It doesn't matter where (what box) you make it.
FPM drops the resulting package in your current working directory.
You can install a package with "dpkg -i ", or if you have a local apt
repo, you drop it in and rebuild your apt metadata (that's behind the scope of
"build a package", there's many HOWTOs on how to build an apt repo).--
Phil Dibowitz phil@ipom.com (mailto:phil@ipom.com)
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
- Dr. Seuss
I tried this using the gem-gem switch for FPM. I also passed the switch to
point to the embedded omnibus gem, but it still built an RPM pointing to
the OS ruby version,
Have I missed something else?
On 17 August 2012 17:11, Phil Dibowitz phil@ipom.com wrote:
I rolled out rubygem-shadow using fpm.
It's pretty simple, you just need to use the --gem-gem (I think) option,
and
point it to the gem binary in the omnibus root. I also pass in a bunch of
options to set names appropriately (I compile several RPMs of gems this
way).If you have any questions, lemme know.
--
Phil Dibowitz phil@ipom.com
Open Source software and tech docs Insanity Palace of Metallica
http://www.phildev.net/ http://www.ipom.com/"Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind."
- Dr. Seuss