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]
<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