indirect changed the topic of #bundler to: Docs! http://bundler.io | Problems? http://bit.ly/bundler-issues | How to help: http://bit.ly/bundler-development | API Dashboard http://cl.ly/SBoH | #bundler logs: http://bit.ly/bundler-logs | Questions will be answered eventually, so hang out for a while
chouhoulis has joined #bundler
_ixti_ is now known as ixti
havenwood has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
havenwood has joined #bundler
Chason has joined #bundler
<Chason> hello everyone
<Chason> Is it possible to run Bundler.require across multiple "bundle install"s? For instance i've got this directory structure /rootdir/server.rb, /rootdir/app1/, /rootdir/app2/. app1 and app2 both have a <app>/vendor/bundle and <app>/Gemfile. When I run server.rb is there a way to tell bundler to load each one separately or possibly tell bundler about both locations?
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 255 seconds]
igitoor has quit [Ping timeout: 244 seconds]
igitoor has joined #bundler
igitoor has quit [Changing host]
igitoor has joined #bundler
havenwood has quit [Remote host closed the connection]
Chason has quit [Quit: Leaving.]
simi has quit [Ping timeout: 276 seconds]
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 256 seconds]
havenwood has joined #bundler
Who has joined #bundler
Who has quit [Quit: Who]
simi has joined #bundler
prime has quit [Ping timeout: 255 seconds]
prime has joined #bundler
simi has quit [Ping timeout: 265 seconds]
x1337807x has joined #bundler
havenwood has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has joined #bundler
simi has joined #bundler
mikewintermute has joined #bundler
<mikewintermute> Trying to understand bundler. If you don’t have a gem installed but put that gem in your Gemfile and run `bundle install` will it install it or do you have to do it manually via `gem install <gem name>`
mikewintermute has quit [Ping timeout: 276 seconds]
mikewintermute has joined #bundler
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
Who has joined #bundler
Who has quit [Ping timeout: 265 seconds]
Who has joined #bundler
Who has quit [Ping timeout: 276 seconds]
Who has joined #bundler
Who828 has joined #bundler
Who828 has quit [Client Quit]
Who has quit [Ping timeout: 256 seconds]
mikewintermute has quit [Quit: mikewintermute]
cstrahan_ has quit [Ping timeout: 265 seconds]
cstrahan_ has joined #bundler
JSharp_ has joined #bundler
havenwood has joined #bundler
cstrahan_ has quit [Ping timeout: 276 seconds]
wiggl3 has joined #bundler
<wiggl3> Uh oh! Why am I getting `error: cannot open .git/FETCH_HEAD: Permission denied` when trying `bundle install`? https://gist.github.com/anonymous/59eb8131b8c4a34d73b0
cstrahan_ has joined #bundler
simi has quit [Ping timeout: 272 seconds]
mikewintermute has joined #bundler
simi has joined #bundler
ixti has quit [Ping timeout: 245 seconds]
ixti has joined #bundler
ixti has quit [Ping timeout: 240 seconds]
ixti has joined #bundler
mikewintermute has quit [Quit: mikewintermute]
mikewintermute has joined #bundler
<wiggl3> It works if I do `sudo bundle install` though?
<indirect> mikewintermute: it will install it for you. maybe try reading bundler.io?
<indirect> wiggl3: you have an existing git clone that is owned by root
<wiggl3> indirect: I see. I tried rm -rf .bundle* but
<indirect> wiggl3: that’s not where git gems get installed into
<indirect> try `bundle show NAMEOFGITGEM`
<indirect> to find the directory
<wiggl3> indirect: Awesome!
<wiggl3> indirect: So then I just go into /usr/local/lib/ruby/gems/2.0/gems/ and set them all to myapp:wheel?
<indirect> wiggl3: I dunno, you do whatever you want :)
<indirect> but that should fix the permissions error
<wiggl3> Cheers indirect =)
<mikewintermute> indirect: it doesn’t seem to do that. i run ‘bundle install’ then ‘rails s’ and get: bundler/spec_set.rb:92:in `block in materialize': Could not find actionpack-3.2.9 in any of the sources (Bundler::GemNotFound)
<indirect> mikewintermute: then something else has gone wrong
<indirect> the most common reason for that is that “rails” and “bundler” are running different versions of ruby
<indirect> and so bundler installs gems somewhere that rails can’t find them
<mikewintermute> indirect: so how do you work out where bundler is installing that gem?
<indirect> mikewintermute: bundle show GEMNAME
<mikewintermute> that says: vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.9
<mikewintermute> so why can’t rails find it?
<indirect> no idea
<indirect> have you tried bundle exec rails s
<mikewintermute> that seems to work. why’s that?
<mikewintermute> indirect: e.g. this says not to use ‘bundle exec’ before rails: http://blog.wyeworks.com/2011/12/27/bundle-exec-rails-executes-bundler-setup-3-times/
<wiggl3> I had to `bundle install puma` as root so I could access `/usr/local/bin/pumactl` from FreeBSD's rc.d (https://freebsd.org/doc/en/articles/rc-scripting/rcng-dummy.html).
<wiggl3> However this root install of Puma seems to conflict with my Rails app's Gemfile Puma. How do you guys usually access gems from your OS?
<wiggl3> Maybe I could remove the root install and do `ln -s /usr/local/bin/pumactl /usr/local/lib/ruby/gems/2.2.0/gems/path/to/pumactl`?
mikewintermute has quit [Quit: mikewintermute]