Ruby on rails -running server command

36 views
Skip to first unread message

Shrivatsan Balagopal

unread,
Sep 29, 2015, 3:49:30 PM9/29/15
to rubyonra...@googlegroups.com
Hello,
I'm new to rails.And i am facing the issue on running the 'Rails server'
command.I couldnt able to run the webrick server(default)
Kindly help out on this.

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Sep 29, 2015, 4:09:59 PM9/29/15
to Ruby on Rails: Talk
On 29 September 2015 at 20:47, Shrivatsan Balagopal
<li...@ruby-forum.com> wrote:
> Hello,
> I'm new to rails.And i am facing the issue on running the 'Rails server'
> command.I couldnt able to run the webrick server(default)

Copy/paste the results of trying to run the server here for us to see.
Also tell us which operating system you are running on.

Colin

Uday BK

unread,
Sep 29, 2015, 4:34:15 PM9/29/15
to rubyonra...@googlegroups.com
what error are you getting? are you sure that you are typing rails
server inside the project root folder?

Shrivatsan Balagopal

unread,
Sep 30, 2015, 2:33:52 AM9/30/15
to rubyonra...@googlegroups.com
Uday BK wrote in post #1178942:
> what error are you getting? are you sure that you are typing rails
> server inside the project root folder?

check the attached doc pls.
Let me know when you are free to trouble shoot it through team viewer
pls.

Thanks

Attachments:
http://www.ruby-forum.com/attachment/11120/booting_rails_server_issue.doc

Colin Law

unread,
Sep 30, 2015, 2:52:27 AM9/30/15
to Ruby on Rails: Talk
On 30 September 2015 at 07:32, Shrivatsan Balagopal
<li...@ruby-forum.com> wrote:
> Uday BK wrote in post #1178942:
>> what error are you getting? are you sure that you are typing rails
>> server inside the project root folder?
>
> check the attached doc pls.
> Let me know when you are free to trouble shoot it through team viewer
> pls.

In future please don't attach files containing images, particularly
not in Microsoft format. Copy/paste information into the list or use
a service such as pastebin to put it in. In this case it would have
been ok just to paste it.

However, as to your problem, I see you are using Windows which will
make it difficult for you to get help with Rails as very few Rails
developers use Windows. I always recommend using a Linux distribution
such as Ubuntu or use a Mac. You can dual boot your machine into
Ubuntu/Win or you can run Ubuntu in a virtual machine under Win.

It looks though as if you have not run bundle install before trying to
run the server.

Colin

>
> Thanks
>
> Attachments:
> http://www.ruby-forum.com/attachment/11120/booting_rails_server_issue.doc

Quake Live

unread,
Sep 30, 2015, 4:51:03 AM9/30/15
to rubyonra...@googlegroups.com
For me it seems that you are missing some gems.

Run bundle install and try again afterwards.

Shrivatsan Balagopal

unread,
Sep 30, 2015, 10:12:54 AM9/30/15
to rubyonra...@googlegroups.com
Hey Quaker,
I've done that also.only if you take the remote control..you can figure
out what's the issue is all about.

Chris Ward

unread,
Oct 15, 2015, 6:54:19 PM10/15/15
to rubyonra...@googlegroups.com
I'm having trouble getting the server up as well. The install went fine,
but it looks like something is blocking it from running on port 3000. I
disabled the security software, but that had no effect. Something else
here in Windows 10 is blocking it.

C:\Dev\Ruby223\Proj\Test>gem list

*** LOCAL GEMS ***

actionmailer (4.2.4)
actionpack (4.2.4)
actionview (4.2.4)
activejob (4.2.4)
activemodel (4.2.4)
activerecord (4.2.4)
activesupport (4.2.4)
arel (6.0.3)
bigdecimal (1.2.6)
binding_of_caller (0.7.2)
builder (3.2.2)
bundler (1.10.6)
byebug (6.0.2)
coffee-rails (4.1.0)
coffee-script (2.4.1)
coffee-script-source (1.9.1.1)
debug_inspector (0.0.2)
erubis (2.7.0)
execjs (2.6.0)
globalid (0.3.6)
i18n (0.7.0)
io-console (0.4.3)
jbuilder (2.3.2)
jquery-rails (4.0.5)
json (1.8.3, 1.8.1)
loofah (2.0.3)
mail (2.6.3)
mime-types (2.6.2)
mini_portile (0.6.2)
minitest (5.8.1, 5.4.3)
multi_json (1.11.2)
mysql2 (0.4.1 x64-mingw32)
nokogiri (1.6.6.2 x64-mingw32)
power_assert (0.2.2)
psych (2.0.8)
rack (1.6.4)
rack-test (0.6.3)
rails (4.2.4)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.7)
rails-html-sanitizer (1.0.2)
railties (4.2.4)
rake (10.4.2)
rdoc (4.2.0)
sass (3.4.19)
sass-rails (5.0.4)
sdoc (0.4.1)
sprockets (3.4.0)
sprockets-rails (2.3.3)
sqlite3 (1.3.11 x64-mingw32)
test-unit (3.0.8)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.1)
turbolinks (2.5.3)
tzinfo (1.2.2)
tzinfo-data (1.2015.7)
uglifier (2.7.2)
web-console (2.2.1)

C:\Dev\Ruby223\Proj\Test>ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32]
Reply all
Reply to author
Forward
0 new messages