the gem doesn't comply with gem standard?

1 view
Skip to first unread message

Yi Wen

unread,
Sep 2, 2008, 11:57:25 AM9/2/08
to Rufus Ruby
Hi,

Rails2.1 now supports gem dependency, but not for rufus-scheduler.
run anythign gives me errors.

It seems I need to add a rufus-scheduler.rb under rufus-
scheduler-1.0.10/lib, with one line:
require 'rufus/scheduler'

to fix the problem.

I am wondering if you could add this file so that it's rubygems and
rails compatible? Thanks very much

Yi

John Mettraux

unread,
Sep 2, 2008, 7:29:10 PM9/2/08
to rufus...@googlegroups.com

Hi,

I don't think this is part of the "gem standard", I've looked at
http://rubygems.org , nothing.

On the Rails side, if you look at
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies

you'll notice that you could have done : config.gem "rufus-scheduler",
:lib => "rufus/scheduler"


Anyway, I'm releasing rufus-scheduler 1.0.11 with the change you
requested, it's valuable. It should be available from RubyForge.org
very soon.


Thanks a lot, best regards,

--
John Mettraux - http://jmettraux.wordpress.com

Yi Wen

unread,
Sep 3, 2008, 10:37:03 AM9/3/08
to Rufus Ruby
Thanks for pointing out a way to use it in Rails.

I use Dr. Nic's newgem(http://drnicwilliams.com/2006/10/11/generating-
new-gems/) for creating gems. It's good. :)

Thanks again

Yi

On Sep 2, 6:29 pm, "John Mettraux" <jmettr...@openwfe.org> wrote:
> On Wed, Sep 3, 2008 at 12:57 AM, Yi Wen <hayafi...@gmail.com> wrote:
>
> > Rails2.1 now supports gem dependency, but not for rufus-scheduler.
> > run anythign gives me errors.
>
> > It seems I need to add a rufus-scheduler.rb under rufus-
> > scheduler-1.0.10/lib, with one line:
> > require 'rufus/scheduler'
>
> > to fix the problem.
>
> > I am wondering if you could add this file so that it's rubygems and
> > rails compatible? Thanks very much
>
> Hi,
>
> I don't think this is part of the "gem standard", I've looked athttp://rubygems.org, nothing.
>
> On the Rails side, if you look athttp://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-...

John Mettraux

unread,
Sep 3, 2008, 7:12:04 PM9/3/08
to rufus...@googlegroups.com
On Wed, Sep 3, 2008 at 11:37 PM, Yi Wen <haya...@gmail.com> wrote:
>
> I use Dr. Nic's newgem(http://drnicwilliams.com/2006/10/11/generating-
> new-gems/) for creating gems. It's good. :)

Ah, thanks for the pointer, I'm using Rake's gem package task.


Cheers,

Reply all
Reply to author
Forward
0 new messages