Could not load the bundler gem. Install it with `gem install bundler`. (RuntimeEr ror)

I am getting an error while starting the server in terminal using the
cmd : ruby/script/server -p3000

error :
/home/ubuntu/Aptana Studio 3 Workspace/my_project/config/…/config/
preinitializer.rb:5: Could not load the bundler gem. Install it with
gem install bundler. (RuntimeError)
from /home/ubuntu/Aptana Studio 3 Workspace/my_project/config/
boot.rb:28:in load' from /home/ubuntu/Aptana Studio 3 Workspace/my_project/config/ boot.rb:28:inpreinitialize’
from /home/ubuntu/Aptana Studio 3 Workspace/my_project/config/
boot.rb:10:in boot!' from /home/ubuntu/Aptana Studio 3 Workspace/my_project/config/ boot.rb:125 from script/server:2:inrequire’
from script/server:2

I am using rails 2.3.4 and ruby 1,8,7.

Can anyone help me out in this issue…

Thanks in advance

Hi Arun,

Have you fixed the problem? I got a similar problem with the following
setup. Can you share with me on how to fix it? Thanks.

i’ve set up my win7 64bit box for ROR development. i got every thing
installed but now i’m stuck at debugging my application. i installed
aptana studio 3 and tried to run ‘debug server’, the following errors

Fast Debugger (ruby-debug-ide 0.4.16, ruby-debug-base 0.10.4) listens on
C:/Ruby/work/whistle/config/boot.rb:28:in load’
C:/Ruby/work/whistle/config/boot.rb:10:in boot!’
c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require’
c:/Ruby/bin/rdebug-ide:19 Uncaught exception: Could not load the bundler
gem. Install it with gem install bundler.

i’m pretty sure it’s related to rmagick, but i don’t know what i’ve done
wrong. i use bundler for gem management. if i comment the "gem
“rmagick”, “2.12.0"” line in gemfile, i can successfully start the
server by running “ruby script/server”. i just don’t know what’s wrong
with the debug.

can anybody tell me what is going wrong? how can i fix it? thx.

windows 7 prof 64bit
aptana studio 3
ruby 1.8.7
rails 2.3.14
ruby-debug-base 0.10.4
ruby-debug-ide 0.4.16
rmagick 2.12.0
imagemagick (C:\Program Files (x86)\ImageMagick-6.5.6-Q8)
bundler 1.0.18 gemfile (gem “rmagick”, “2.12.0”)
require ‘rubygems’
require ‘RMagick’
require ‘bundler’


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs