From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: Rainbows! list <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Subject: TAN: why Bundler? (was: Re: problem with rainbows 3.2.0 and rbx)
Date: Sat, 30 Apr 2011 10:51:24 -0700 [thread overview]
Message-ID: <20110430175124.GA3040@dcvr.yhbt.net> (raw)
In-Reply-To: <20110430171428.GB29282-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> 2) your app uses Bundler?
Old idea, but I'm not sure why more webapps aren't just distributed as
gems themselves. Or even something like this which just declares
dependencies:
----------------- gemspec_sandbox_demo.gemspec --------------------
Gem::Specification.new do |s|
s.name = %q{gemspec_sandbox_demo}
s.version = '1'
s.author = "J. Random Hacker"
s.homepage = "http://example.com/"
s.email = "root-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org"
s.summary = "no need to use sandboxing tools"
s.description = <<EOF
Apps that use gems that don't conflict can just use a dummy gem built
from a gemspec like this one.
There are a few missing pieces, like not being able to use git://
repos for gems or specify build options for C extensions, but it's
probably enough for a good number of use cases.
EOF
s.add_dependency(%q<mysql2>, "~> 0.3")
s.add_dependency(%q<sequel>, "~> 3.22")
s.add_dependency(%q<sinatra>, "~> 1.0")
end
-------------------------------------------------------------------
And then just `gem build foo.gemspec && gem install ./foo-1.gem`
in the deploy.
...But many years ago I gave up and just decided
packaging/dependency/deployment problems are just unsolvable because
there's always (at least) one special case in *every* case that $TOOL
doesn't/can't solve :<
--
Eric Wong
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying
next prev parent reply other threads:[~2011-04-30 18:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 16:25 problem with rainbows 3.2.0 and rbx Mike Perham
[not found] ` <BANLkTimE7vo2_pRDdcVNN5vNA2fphP4-4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-27 17:12 ` Mike Perham
2011-04-27 17:55 ` Eric Wong
[not found] ` <20110427175523.GA31654-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-04-27 18:06 ` Eric Wong
[not found] ` <20110427180635.GA19302-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-04-28 6:47 ` Eric Wong
2011-04-29 23:58 ` Mike Perham
[not found] ` <BANLkTikTugt46DfKVJtt3_fTm+X-j9U2Rw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-30 1:19 ` Eric Wong
[not found] ` <20110430011926.GA15387-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-04-30 16:10 ` Mike Perham
[not found] ` <BANLkTi=itrufRkdQsp7M5jaBS2trnm5dMQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-04-30 17:14 ` Eric Wong
[not found] ` <20110430171428.GB29282-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-04-30 17:51 ` Eric Wong [this message]
[not found] ` <20110430175124.GA3040-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-05-01 2:09 ` TAN: why Bundler? (was: Re: problem with rainbows 3.2.0 and rbx) Hedge Hog
2011-04-30 21:08 ` problem with rainbows 3.2.0 and rbx Mike Perham
[not found] ` <BANLkTi=t6z_5psK6AJy=XrOZmXjX0GW-pg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-01 1:47 ` Eric Wong
[not found] ` <20110501014703.GA16332-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-05-01 4:26 ` Mike Perham
[not found] ` <BANLkTinReZFusAimFSF=RcPkm-1N-=Y1Sg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-01 6:38 ` Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/rainbows/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110430175124.GA3040@dcvr.yhbt.net \
--to=normalperson-rmlxzr9ms24@public.gmane.org \
--cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/rainbows.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).