The beta2 of Ruby on Rails 3.0 was just tagged and announced. The blog
post says "we’ve made huge strides since the last release and so have
auxiliary tools like Bundler." Hopefully some of what was brought up
in Igal's talk on Bundler have been addressed.
Don
This is good news. Any interest in having a mid-month activity meeting to explore these changes and throwing around some code to exercise them?http://weblog.rubyonrails.org/2010/4/1/rails-3-0-second-beta-release The beta2 of Ruby on Rails 3.0 was just tagged and announced. The blog post says "we�ve made huge strides since the last release and so have auxiliary tools like Bundler."
Hopefully some of what was brought up in Igal's talk on Bundler have been addressed
On 04/01/2010 03:06 PM, Don Park wrote:
http://weblog.rubyonrails.org/2010/4/1/rails-3-0-second-beta-release The beta2 of Ruby on Rails 3.0 was just tagged and announced. The blog post says "we’ve made huge strides since the last release and so have auxiliary tools like Bundler."
This is good news. Any interest in having a mid-month activity meeting to explore these changes and throwing around some code to exercise them?The following complaints that I raised still remain:
Hopefully some of what was brought up in Igal's talk on Bundler have been addressed
If someone wants to team up to work on this, I'm pretty sure we can solve everything other than #1 quickly. This may make for a good mini sprint. Interested?
- Don't want to mix-and-match gem managers (gemrc, rip, etc)
- Rails 2 integration is ugly
- Can't easily require gems outside manifest on the fly
- Passenger requires locked environment?
- `bundle install` accesses network even though it shouldn't, consider using `bundle check || bundle install`
- `bundle check` checks everything, doesn't accept `--with=GROUP` or `--without=GROUP`
- `bundle install` accepts `--without=GROUP`, but not `--with=GROUP`
- `bundle check` rewrites the locked environment file when checked even if same, annoying for versioning
I'll bring up the suggestion for these two activities again at the meeting.
-igal
--
You received this message because you are subscribed to the Google Groups "pdxruby" group.
To post to this group, send email to pdx...@googlegroups.com.
To unsubscribe from this group, send email to pdxruby+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pdxruby?hl=en.
It seems to me that the reason bundle install accesses the network is because it is meant to be able to handle updates. If we were to throw code at bundler, it would be important to either create a new command, or a new option to the install command that would tell it to check for updates to installed dependencies, as well as installing them from scratch.
> • `bundle check` checks everything, doesn't accept `--with=GROUP` or `--without=GROUP`
> • `bundle install` accepts `--without=GROUP`, but not `--with=GROUP`
> • `bundle check` rewrites the locked environment file when checked even if same, annoying for versioning
> If someone wants to team up to work on this, I'm pretty sure we can solve everything other than #1 quickly. This may make for a good mini sprint. Interested?
I'd be up for some mini-sprinting around this, if only to become more familiar with how bundler works internally.
I'll also add my own complaint from last meeting
* There is no way to tell bundler to use a certain lib or include directory when installing gems with native extensions.
Reid
>> If someone wants to team up to work on this, I'm pretty sure we can solve everything other than #1 quickly. This may make for a good mini sprint. Interested?
>>
> I'd be up for some mini-sprinting around this
Great!
> if only to become more familiar with how bundler works internally.
>
Spoiler: no documentation, poor naming, unclear flow, excessive
indirection, and much unneeded code. :(
> I'll also add my own complaint from last meeting
> * There is no way to tell bundler to use a certain lib or include directory when installing gems with native extensions.
>
Yeah, that's a problem.
-igal
> The following complaints that I raised still remain:
>
> 1. Don't want to mix-and-match gem managers (gemrc, rip, etc)
> 2. Rails 2 integration is ugly
> 3. Can't easily require gems outside manifest on the fly
> 4. Passenger requires locked environment?
> 5. `bundle install` accesses network even though it shouldn't,
> consider using `bundle check || bundle install`
> 6. `bundle check` checks everything, doesn't accept `--with=GROUP` or
> `--without=GROUP`
> 7. `bundle install` accepts `--without=GROUP`, but not `--with=GROUP`
> 8. `bundle check` rewrites the locked environment file when checked
> even if same, annoying for versioning
Another issue I ran across is the inability to specify a library name
that's different that the gem name, i.e., there doesn't seem to be an
equivalent to
config.gem 'rmagick', :lib => 'RMagick'
> If someone wants to team up to work on this, I'm pretty sure we can
> solve everything other than #1 quickly. This may make for a good mini
> sprint. Interested?
I'm not sure what your definition of quickly is, or perhaps I'm a bit
more pessimistic on how quickly the problems can be resolved, but I'd be
interested in a code sprint to work on them.
--
David Cato
I really wish they'd (1) documented this more clearly and (2) provided
backwards compatibility since most people that will use Bundler are
coming from a config.gem background. Maybe one of the things we provide
a patch for is something that either warns the user of unknown options
that are being ignored, or a handler that accepts these old-style
arguments but displays deprecation warnings. I ran into a similar
problem when I inadvertantly specified the versions of my desired gems
using the congi.gem-style :version option, which Bundler silently
ignored and then was surprised when I was getting different versions of
things than I expected.
>> If someone wants to team up to work on this, I'm pretty sure we can
>> solve everything other than #1 quickly. This may make for a good mini
>> sprint. Interested?
>>
> I'm not sure what your definition of quickly is, or perhaps I'm a bit
> more pessimistic on how quickly the problems can be resolved, but I'd be
> interested in a code sprint to work on them.
>
Great. Agreed. In this case, I meant quickly as in hours to days of work.
-igal
We've never had a problem using bundler with passenger, but due to the
way passenger works, you never get a truly isolated gem structure.
-Kyle