Push to gemcutter

2 views
Skip to first unread message

Erik Dahlstrand

unread,
Oct 12, 2009, 8:14:01 AM10/12/09
to declarative_authorization
Hi Steffen,

Do you have the time to push the gem to gemcutter?
It's a matter of "gem push declarative_authorization-0.3.2.2.gem". I
would really appreciate it. Thanks.

/Erik

(GitHub gem building is defunk. http://github.com/blog/515-gem-building-is-defunct)

Steffen Bartsch

unread,
Oct 12, 2009, 8:25:44 AM10/12/09
to declarative_...@googlegroups.com
Am Montag, 12. Oktober 2009 schrieb Erik Dahlstrand:
> Do you have the time to push the gem to gemcutter?
> It's a matter of "gem push declarative_authorization-0.3.2.2.gem". I
> would really appreciate it. Thanks.

I haven't had any time to look into gemcutter yet. But I suspect it is more
work than a one-liner. At least that gem needs to be built, doesn't it?

If this is important to you, you could help by writing a gemcutter rake task
so that I just needed to execute it.

On a side note, the current decl_auth gem should still be available at
gems.github.com.

Steffen

Erik Dahlstrand

unread,
Oct 12, 2009, 11:02:56 AM10/12/09
to declarative_authorization
This is how gemcutter works:

Preparations:
Sign up with gemcutter (email and password) - http://gemcutter.org/sign_up
$ gem install gemcutter
$ gem tumble

Build gem:
$ git clone git://github.com/stffn/declarative_authorization.git
$ cd declarative_authorization
$ rake build_gemspec
$ gem build declarative_authorization.gemspec

Push to gemcutter:
$ gem push declarative_authorization-0.3.2.2.gem

I would gladly write the rake task but do you really want to build and
push in one step?

/Erik

Steffen Bartsch

unread,
Oct 12, 2009, 4:50:06 PM10/12/09
to declarative_...@googlegroups.com
Am Montag, 12. Oktober 2009 schrieb Erik Dahlstrand:
> I would gladly write the rake task but do you really want to build and
> push in one step?

OK, thanks for your detailed script, Erik.

declarative_authorization gems are hosted at gemcutter from today. The old
gems will still be available at github for some time (a year or so), but I'd
suggest you all switch the gem command in the environment.rb to the new gem
name, which lost its prefix and thus got simpler:
config.gem "declarative_authorization"

Then, setup gemcutter:
gem install gemcutter
gem tumble

And, lastly
rake install:gems

Steffen

Erik Dahlstrand

unread,
Oct 13, 2009, 2:31:37 AM10/13/09
to declarative_authorization
Thanks Steffen.

Also I would like to suggest rdoc.info. Just press the Update button
on the top right to get a fresh documentation. Very cool.
http://rdoc.info/projects/stffn/declarative_authorization
Reply all
Reply to author
Forward
0 new messages