chouhoulis has quit [Remote host closed the connection]
Specialist has quit [Ping timeout: 276 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
gheegh has quit [Ping timeout: 240 seconds]
kgrz has joined #bundler
kgrz has quit [Ping timeout: 260 seconds]
kgrz has joined #bundler
noService has joined #bundler
Specialist has joined #bundler
noServic1 has joined #bundler
noService has quit [Ping timeout: 260 seconds]
Specialist has quit [Ping timeout: 276 seconds]
noServic1 has quit [Ping timeout: 246 seconds]
noService has joined #bundler
noService has quit [Ping timeout: 260 seconds]
kgrz has quit [Ping timeout: 260 seconds]
noService has joined #bundler
jds has joined #bundler
noService has quit [Ping timeout: 246 seconds]
noService has joined #bundler
noService has quit [Ping timeout: 260 seconds]
kgrz has joined #bundler
noService has joined #bundler
aa_kk has joined #bundler
c355e3b has joined #bundler
<aa_kk>
Hi, i have been trying a small thing to do but stuck badly. using command $ bundle -v shows a different version but no matter what changes i make version inside ruby app remain the same
jds has quit [Quit: Connection closed for inactivity]
<kgrz>
aa_kk: can you elaborate that? `bundle -v` shows the version of bundler. How are you checking the bundler version inside your app?
<aa_kk>
I have an old version of redmine and new version needs an updated bundle version
<aa_kk>
if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.5.0')
<aa_kk>
yes exactly
<kgrz>
what does bundle -v output?
noService has joined #bundler
gthank has quit [Ping timeout: 250 seconds]
<aa_kk>
right now I get an error bundler (>=0) because i treid to uninstall bundler and reinstall several times but whatever version i install i can see that using bundle -v
<aa_kk>
only the error remains same
<kgrz>
Do you have multiple versions of Ruby installed? Can you check what gem list bundler outputs?
gthank has joined #bundler
gthank has quit [Changing host]
gthank has joined #bundler
<aa_kk>
gem list bundler *** LOCAL GEMS *** bundler-unload (1.0.2) rubygems-bundler (1.4.4)
<aa_kk>
is there a way to check multiple installations using some command. as per my knowledge its a single installation
<aa_kk>
inside /usr/lib/ruby i have 1.8 and 1.9.1 folders and vendor_ruby folder
<aa_kk>
I read somewhere that first cache version is checked. is there a way to clear cache?
<aa_kk>
kgrz: do you think there is a way out. my only problem is that the current version of redmine is being used and i do not want to lose it by trying random changes
chouhoulis has joined #bundler
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #bundler
<kgrz>
aa_kk: I don't see a bundler gem in the output of gem list bundler. That might be the cause. I'm not too familiar with rubygems-bundler.
<kgrz>
one way you can check which executable gets invoked when you run `bundle` by running `which bundle`
dstarh has joined #bundler
<aa_kk>
thank you kgrz let me try that.
Guest12433 has quit [Ping timeout: 260 seconds]
<aa_kk>
its /usr/local/bin/bundle
<aa_kk>
and first few lines of this file show
<aa_kk>
#!/usr/bin/ruby1.9.1 # # This file was generated by RubyGems. # # The application 'bundler' is installed as part of a gem, and # this file is here to facilitate running it.
gheegh has joined #bundler
aa_kk has quit [Ping timeout: 250 seconds]
dstarh has quit [Read error: Connection reset by peer]
<kgrz>
My suggestion would be to get a clean installation of Ruby (whatever version you want) using a ruby version manager like RVM/chruby/rbenv
<kgrz>
The general steps I follow if I have to install a new Ruby for an application: 1. install new ruby 2. install bundler via `gem install bundler` 3. Run `bundle install` in the application directory
<kgrz>
I've had very few troubles with this routine. This might help you too. I understand it might be a bit frustrating to hear a suggestion about yak shaving, but this is the only solution I can think of rn
chouhoulis has quit [Remote host closed the connection]
noService has quit [Ping timeout: 252 seconds]
chouhoulis has joined #bundler
chouhoul_ has joined #bundler
chouhoulis has quit [Ping timeout: 252 seconds]
noService has joined #bundler
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #bundler
kgrz has quit [Quit: leaving]
noService has quit [Ping timeout: 276 seconds]
djbkd has joined #bundler
djbkd has quit [Remote host closed the connection]
djbkd has joined #bundler
noService has joined #bundler
djbkd has quit [Remote host closed the connection]