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
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cwebber has quit [Ping timeout: 240 seconds]
cwebber has joined #bundler
funburn has quit [Quit: funburn]
cwebber has quit []
funburn has joined #bundler
postmodern has quit [Ping timeout: 240 seconds]
funburn has quit [Ping timeout: 255 seconds]
postmodern has joined #bundler
postmodern has quit [Changing host]
postmodern has joined #bundler
ddd has quit [Ping timeout: 240 seconds]
ddd has joined #bundler
cmmagid has quit [Quit: cmmagid]
postmodern has quit [Ping timeout: 240 seconds]
ddd has quit [Ping timeout: 240 seconds]
larshaugseth has quit [Ping timeout: 240 seconds]
postmodern has joined #bundler
postmodern has quit [Ping timeout: 240 seconds]
awkisopen has quit [Ping timeout: 240 seconds]
postmodern has joined #bundler
ddd has joined #bundler
awkisopen has joined #bundler
ddd has quit [Ping timeout: 240 seconds]
awkisopen has quit [Ping timeout: 240 seconds]
larshaugseth has joined #bundler
ddd has joined #bundler
larshaugseth has quit [Ping timeout: 240 seconds]
postmodern has quit [Ping timeout: 240 seconds]
larshaugseth has joined #bundler
awkisopen has joined #bundler
awkisopen has quit [Changing host]
awkisopen has joined #bundler
postmodern has joined #bundler
postmodern has quit [Ping timeout: 240 seconds]
awkisopen has quit [Ping timeout: 240 seconds]
postmodern has joined #bundler
awkisopen has joined #bundler
robbyoconnor has joined #bundler
robbyoconnor has quit [Changing host]
robbyoconnor has joined #bundler
jaimef has quit [Ping timeout: 255 seconds]
robbyoconnor has quit [Ping timeout: 255 seconds]
jaimef has joined #bundler
postmodern has quit [Ping timeout: 240 seconds]
ddd has quit [Ping timeout: 240 seconds]
awkisopen has quit [Ping timeout: 240 seconds]
ddd has joined #bundler
awkisopen has joined #bundler
havenwood has joined #bundler
ixti has quit [Ping timeout: 246 seconds]
jaimef has quit [Excess Flood]
jaimef has joined #bundler
x1337807x has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #bundler
woollyams has joined #bundler
woollyams has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cha1tanya has joined #bundler
havenwood has quit []
retro|cz has joined #bundler
deiga has joined #bundler
<deiga> Hi, is it possible to specify a dynamic ruby version range in the gemfile?
<deiga> something like ~> 2.1, because I don't care about minor versions
arefaslani has joined #bundler
samphippen has joined #bundler
davidcollom_zzz is now known as davidcollom
arefaslani has quit [Remote host closed the connection]
mfoo has joined #bundler
arefaslani has joined #bundler
samotarnik has joined #bundler
<samotarnik> hi everyone. i would like to create a deployment package of a rails app, meaning i want a tar file that i can push to a server which only has (j)ruby installed and there i can untar and start my application server without the need of installing bundler and/or required gems. i'm using "bundle install --deployment --standalone" but having trouble starting the app on the deployment server ("program 'bundle' is not installed"). is there a post somewhere i
<samotarnik> can read, the documentation on bundler.io is pretty scarce on that topic?
<samotarnik> deiga: if i run "bundle package --all", all i get unpacked into the vendor folder are like 3 gems. i don't think that's what i need
arefaslani has quit [Remote host closed the connection]
samotarnik has quit [Ping timeout: 240 seconds]
rawtaz has left #bundler [#bundler]
ixti has joined #bundler
ixti has quit [Ping timeout: 240 seconds]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoulis has joined #bundler
larshaugseth is now known as lhz
<lhz> In a Gemfile with multiple sources defined, in what order are the sources searched? http://bundler.io/v1.5/man/gemfile.5.html#SOURCE-PRIORITY suggests last-to-first, while http://bundler.io/v1.5/rationale.html suggests first-to-last?
<lhz> The docs really need to be 100% clear on this, as it can cause a huge security issue to get it wrong.
cha1tanya has quit [Ping timeout: 240 seconds]
samphippen has joined #bundler
ereslibre has quit [Remote host closed the connection]
ereslibre has joined #bundler
cmmagid has joined #bundler
samotarnik has joined #bundler
axl_ has joined #bundler
<samotarnik> hi everyone. i'm working on a rails app. it has about 30 gems that are required in production. when i run "bundle package --all" only 3 gems get unpacked into vendor/cache. why is that, i.e. shouldn't all the gems be unpacked?
<deiga> it seems that this channel is rather dead
<samotarnik> hmm...
ixti has joined #bundler
<samotarnik> deiga: i read about bundle package... if i understand correctly bundle package unpacks the gems but does not necessarily free you from using bundler
<samotarnik> deiga: (that was a question)
<samotarnik> deiga: while with "bundle install --deployment --standalone" you don't use bundler because you get the setup.rb file which you have to require?
<dwradcliffe> deiga: bundle package only caches the .gem files
<dwradcliffe> deiga: you still need bundler to install
<samotarnik> deiga: what does 'caches' mean? that it unpacks them into vendor/cache?
<dwradcliffe> no unpacking
<dwradcliffe> just saves the .gem locally
<samotarnik> ok
cwebber has joined #bundler
<samotarnik> how do i unpack them?
<dwradcliffe> use bundler or rubygems to install
<samotarnik> i don't want to run "bundle install" on my production server
<dwradcliffe> some gems need to be compiled, so you'll need to install on the server
<samotarnik> i have a staging server, which is an exact copy of the production and i run bundle install there
<samotarnik> with compilation and everything
<dwradcliffe> ok, so what's the question then?
<samotarnik> then i would like to create a package and just push it onto the production machine
codehotter has left #bundler ["WeeChat 0.3.7"]
<dwradcliffe> in theory that should work I think
<samotarnik> yeah, but how do i do it? i mean how should i prepare the package so all the gems are there?
<dwradcliffe> when you run `bundle install --deployment` all your gems are installed into vendor/bundle
<dwradcliffe> so just make sure you include that in your tar
<samotarnik> i used "bundle install --deployment --standalone", but then suddenly i'm missing a whole bunch of 'require' statements in the app
<samotarnik> ok
<samotarnik> but i would have to install rubygems and bundler on production machine in your case?
<dwradcliffe> yeah, was just going to say that
<samotarnik> (gems)
<dwradcliffe> rails uses bundler to load the gems
<dwradcliffe> even if they are installed already
<samotarnik> so if i would like to use the "--stanalone" option, what would i have to do? insert a whole bunch of "require" statements into application.rb?
<dwradcliffe> I haven't used --standalone before
<samotarnik> no one has it seems... google is virtually silent on that issue...
<samotarnik> that's just weird
<dwradcliffe> looks like it creates a bundle/bundler/setup.rb
<samotarnik> yes
<samotarnik> i require that file inside my application.rb then
<dwradcliffe> but it doesn't work?
<samotarnik> but still, all my constants (i.e. classes) are missing... i have to insert 'require' statements before using them
<samotarnik> which, naturally, i didn't insert during development since i was using bundler
<dwradcliffe> ah, rails calls `Bundler.require(:default, Rails.env)`
<samotarnik> exactly
cwebber has quit []
<dwradcliffe> so I guess you'll need to do that manually
<dwradcliffe> is there a reason you don't want to use bundler on the production server?
<samotarnik> not really sure
<samotarnik> except that i need to install it as a gem
<samotarnik> i thought i would do sth. like a .waf file deploy: install jruby, push my package onto the server and run the app server
<samotarnik> it seemed elegant
<samotarnik> and that's how rails 2.3 worked for example
<dwradcliffe> it's not really how ruby apps are done :)
<samotarnik> i don't think it has to do with ruby...
<samotarnik> more of a rails issue...
<samotarnik> or bundler
<dwradcliffe> well you want the features of bundler without using bundler
<samotarnik> well, yes and no...
<samotarnik> bundler is ok for resolving dependencies and installing gems
<samotarnik> but i think you would want to require the dependencies in your app manuallly
<samotarnik> manually*
<dwradcliffe> that's a personal preference. most rails devs choose to let bundler do that (would you rather require each model manually?)
<samotarnik> using bundler is comfortable, but maybe it's not a good way to do it...
<samotarnik> why not, e.g. the java guys do it
<samotarnik> (that was only half a joke)
<samotarnik> sorry, gotta go for a couple of minutes, thanks for the help...
samotarnik is now known as samotarnik_afk
ohwhoa has joined #bundler
axl_ has quit [Quit: axl_]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
axl_ has joined #bundler
cwebber has joined #bundler
samotarnik_afk has quit [Ping timeout: 240 seconds]
havenwood has joined #bundler
axl_ has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #bundler
chouhoulis has quit [Ping timeout: 240 seconds]
chouhoul_ has quit [Remote host closed the connection]
cwebber has quit []
ohwhoa has quit [Quit: woah!]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davidcollom is now known as davidcollom_zzz
chouhoulis has joined #bundler
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
chouhoul_ has joined #bundler
cwebber has joined #bundler
chouhoulis has quit [Ping timeout: 240 seconds]
havenwood has quit []
samphippen has joined #bundler
havenwood has joined #bundler
x1337807x has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #bundler
samphippen has quit [Remote host closed the connection]
samphippen has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfoo has quit [Read error: Operation timed out]
retro|cz has quit [Ping timeout: 240 seconds]
x1337807x has joined #bundler
chouhoulis has joined #bundler
chouhoul_ has quit [Ping timeout: 240 seconds]
retro|cz has joined #bundler
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
retro|cz has quit [Ping timeout: 240 seconds]
mfoo has joined #bundler
cmmagid has quit [Quit: cmmagid]
x1337807x has joined #bundler
chouhoulis has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit []
x1337807x has joined #bundler
cwebber_ has joined #bundler
larshaugseth has joined #bundler
cwebber has quit [*.net *.split]
ixti has quit [*.net *.split]
awkisopen has quit [*.net *.split]
ddd has quit [*.net *.split]
lhz has quit [*.net *.split]
awkisopen has joined #bundler
Olipro has quit [Ping timeout: 246 seconds]
Olipro has joined #bundler
zzak_ has joined #bundler
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [*.net *.split]
jaimef has quit [*.net *.split]
Cidan has quit [*.net *.split]
cschneid has quit [*.net *.split]
zzak has quit [*.net *.split]
zzak_ is now known as zzak
jaimef has joined #bundler