fine,rails server is working for me..
The output of "rails server " from terminal is following
am...@amrit-desktop:~/blog$ rails server
=> Booting WEBrick
=> Rails 3.0.1 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-10-23 02:08:11] INFO WEBrick 1.3.1
[2010-10-23 02:08:11] INFO ruby 1.9.2 (2010-08-18) [i686-linux]
[2010-10-23 02:08:11] INFO WEBrick::HTTPServer#start: pid=1734 port=3000
Now i can access "localhost:3000"
i have downloaded the source code of
site (openstreetview) which is rails application,now please tell me how to
run this source code at localhost
Thanks
On Fri, Oct 22, 2010 at 9:41 AM, yogi <[email protected]> wrote:
> 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]<rubyonrails-core%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>
--
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.