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 quit [Remote host closed the connection]
ntucker_ has joined #bundler
<ntucker_> any advice on debugging why bundler is using the wrong version of ruby to attempt to install my gems under rbenv?
<ntucker_> i have ruby 1.8.7 installed under rbenv and that is working fine for running my apps, but if i attempt to use bundler, i get errors about gems failing to install and the stacktraces indicate that it's trying to install them with ruby 2.0 (default from the system, a brand new OSX machine)
<ntucker_> this makes sense, as many of the gems in this project are not compatible with ruby 2.0, which is the reason for the rbenv'ing
<ntucker_> aha, i just discovered that /usr/bin/bundle has a hardcoded #!/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
<ntucker_> is that intentional/desirable?
<ntucker_> aha aha: when i did a 'sudo gem install bundler' i became root and lost my rbenv env. doing a sudo -E gem install bundler solves the prob
havenwood has joined #bundler
chouhoulis has joined #bundler
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
havenwood has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
iamjarvo has joined #bundler
chouhoulis has joined #bundler
chouhoulis has quit [Ping timeout: 244 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_ixti_ has quit [Ping timeout: 245 seconds]
_ixti_ has joined #bundler
_ixti_ has quit [Ping timeout: 244 seconds]
_ixti_ has joined #bundler
_ixti_ is now known as ixti
ixti has quit [Quit: WeeChat 1.0.1]
ixti has joined #bundler
<ntucker_> hi bundlers. i have an internally hacked version of the mysql2 gem that is checked into an SVN repo as a .gem file and I'd like to figure out a way to install it with bundler. As best as I can figure out is that i need to unpack the .gem file into a directory containing a gemspec and then I can refer to it in my Gemfile with :path => path/to/dir/containing/gemspec
<ntucker_> when i do this, bundle install appears to succeed, but then i'm unable to require 'mysql2'. it gives me the error: ... neal-devsetup/btest/mysql2-0.3.12b5/lib/mysql2.rb:8:in `require': no such file to load -- mysql2/mysql2 (LoadError)
<ntucker_> so it would appear that bundler can find the initial file (msyql2-0.3.12b5/lib/mysql2.rb) but that 'require' calls inside it do not work properly (there is a "require 'mysql2/mysql2/'" in that file which works if I install the gem via 'gem install' rather than with bundler
<ntucker_> i'm not sure how to proceed debugging this. any advice would be appreciated
<ntucker_> it's possible that i've totally misunderstood how i'm supposed to go about bundling a gem from sources
<ntucker_> more data: if i make a local gem server containing only that gem and use :source => 'http://localhost:8808' in my Gemfile it works ok. So it's simply something to do with how I am referring to it in the Gemfile
<ntucker_> oh, hmm, it seems that 'bundle install' is not actually building the C parts of this gem. obviously i'm misunderstanding something
jhass has quit [Remote host closed the connection]
jhass has joined #bundler
jhass has quit [Client Quit]
jhass has joined #bundler
havenwood has joined #bundler
cha1tanya has joined #bundler
cha1tanya has quit [Ping timeout: 244 seconds]
chouhoulis has joined #bundler
cha1tanya has joined #bundler
cha1tanya has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Ping timeout: 255 seconds]
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #bundler
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
simi has joined #bundler
chouhoulis has quit [Ping timeout: 250 seconds]
simi has quit [Ping timeout: 255 seconds]
Pupeno has joined #bundler
simi has joined #bundler
djbkd has joined #bundler
djbkd_ has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #bundler
djbkd has quit [Ping timeout: 240 seconds]
Pupeno_ has joined #bundler
Pupeno has quit [Read error: Connection reset by peer]