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