Bug 165525 - Looks like sysutils/rubygem-bundler is broken on FreeBSD
Summary: Looks like sysutils/rubygem-bundler is broken on FreeBSD
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 09:40 UTC by graudeejs
Modified: 2012-02-28 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description graudeejs 2012-02-28 09:40:08 UTC
when I cd to rails project and run bundle install (even without rvm)
it will install everything in ./bundle-*

There is no GEM_HOME or enything like that.

it should install gems in system shouldn't it?
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-28 09:40:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-28 09:40:30 UTC
Maintainer of sysutils/rubygem-bundler,

Please note that PR ports/165525 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/165525

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-02-28 09:40:32 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 gogolok 2012-02-28 17:10:25 UTC
>when I cd to rails project and run bundle install (even without rvm)
>it will install everything in ./bundle-*
>
>There is no GEM_HOME or enything like that.
>
>it should install gems in system shouldn't it?

On a fresh system with latest sysutils/rubygem-bundler, 'bundle
install' will install the gems into the system folder.
Maybe there is a .bundle/config file in your rails project that orders
bundle to install into './bundle-*'?

Best regards,
Robert
Comment 5 Philip M. Gollucci 2012-02-28 17:59:45 UTC
> when I cd to rails project and run bundle install (even without rvm)
> it will install everything in ./bundle-*
> 
> There is no GEM_HOME or enything like that.
> 
> it should install gems in system shouldn't it?
>> How-To-Repeat:

No, you need to set GEM_HOME or be the root user to install in the
system.  Running it as your user correctly install in ~/.bundle


-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Member,                           Apache Software Foundation
Committer,                        FreeBSD Foundation
Consultant,                       P6M7G8 Inc.
Director Operations,              Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-28 18:00:14 UTC
State Changed
From-To: feedback->closed

Bad PR