Actually 'gem install rails' takes latest version of rail which is rails3 there are no script called server.
just try 'rails server ' On Oct 22, 3:08 pm, amritpal pathak <[email protected]> wrote: > 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 `<main>' > > 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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
