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

Please help me to solve this problem.


Mandeep K.

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

On Tue, Jun 19, 2012 at 9:45 PM, Mandeep K. [email protected]
wrote:

source ‘https://rubygems.org
$ bundle exec script/server
http://mandeepsimak.wordpress.com/


David A. Prasetya
RoR Developers

skype: david.angga
phone: +62 85 222 1 5555 2
*

On Wed, Jun 20, 2012 at 3:45 PM, David A. [email protected]
wrote:

from the error message, there’s no config/boot.rb file
this tutorial will show you how to install bundle on rails 2:
Gem Bundler – Manage your Ruby gems

usualy i’m using rvm to manage multiple applications/ruby/rails on one
system:
RVM: Ruby Version Manager - RVM Ruby Version Manager - Documentation

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


Mandeep K.