Cannot load such file -- script/../config/boot (LoadError)

Hello Friends,

I want to use multiple Rails versions on my system for different applications. For this I have created Gemfile and place that file in application folder. Then I have use bundle install command in application directory. Its run without giving any error. But when I run bundle exec script/server, it gives error (LoadError).

Gemfile includes :

source 'https://rubygems.org'

gem 'rails', '~> 2.3.8'

Then I run, $ bundle install in terminal. After that start the application using

$ bundle exec script/server

It gives following error:

$ bundle exec script/server script/server:2:in `require': cannot load such file -- script/../config/boot (LoadError)   from script/server:2:in `<main>'

Please help me to solve this problem.

from the error message, there’s no config/boot.rb file

this tutorial will show you how to install bundle on rails 2:

http://gembundler.com/rails23.html

usualy i’m using rvm to manage multiple applications/ruby/rails on one system:

https://rvm.io//

Using above, gives same error. Please help me to solve this problem.