Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Bundler inside gem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
seban  
View profile  
 More options Nov 9 2010, 1:48 pm
From: seban <sebastian.no...@gmail.com>
Date: Tue, 9 Nov 2010 10:48:33 -0800 (PST)
Local: Tues, Nov 9 2010 1:48 pm
Subject: Bundler inside gem
I have a problem with gem which jak wrote. I had in my mine gem file
code:
require "rubygems"
require "bundler"
Bundler.setup
Bundler.require(:default).

This works only if my current directory have some Gemfile. In
directory without Gemfile is raises exception
Bundler::GemfileNotFound: Could not locate Gemfile. What I do wrong?
Is bundle not suitable for using inside of gems?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andre Arko  
View profile  
 More options Nov 9 2010, 1:53 pm
From: Andre Arko <an...@arko.net>
Date: Tue, 9 Nov 2010 10:53:21 -0800
Local: Tues, Nov 9 2010 1:53 pm
Subject: Re: Bundler inside gem
On Nov 9, 2010, at 10:48 AM, seban wrote:

> Is bundle not suitable for using inside of gems?

Correct. Don't do this, it's wrong. Inside a gem, just require the libraries that you need.

— Andre


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Chaffee  
View profile  
 More options Nov 9 2010, 2:06 pm
From: Alex Chaffee <ale...@gmail.com>
Date: Tue, 9 Nov 2010 11:06:48 -0800
Local: Tues, Nov 9 2010 2:06 pm
Subject: Re: Bundler inside gem
You can use Bundler for *developing* your gem, e.g. in your rakefile  
or test helper. Just keep it out of your lib dir.

Sent from my iPhone

On Nov 9, 2010, at 10:53 AM, Andre Arko <an...@arko.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »