(Unable to start rails application) ruby scipt/server error

  1. I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
    (/usr/local/src directory )

  2. Then i installed rails from terminal by typing follwoing

        sudo gem install rails --include-dependencies
    
  3. Then i made a rails applcation from terminal as

                     rails new demo
                          then
                    cd demo
                   ruby script/server
    
                    Here i got the error
    
         <internal:lib/rubygems/custom_require>:29:in `require': no 
    

such
file to load – script/…/config/boot (LoadError)
from internal:lib/rubygems/custom_require:29:in require' from script/server:2:in

4)The details of script/serve file are as under

#!/usr/bin/env ruby
require File.dirname(FILE) + ‘/…/config/boot’
require ‘commands/server’

         Any suggesstion ??

thanks in advance

So you have rails3.0 installed?
Then you need to use “rails server” or “rails s” to start your
application.

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