begginer , need help with ruby installation(cmd)

30 views
Skip to first unread message

Mohammed Rashid

unread,
Aug 13, 2014, 7:48:16 AM8/13/14
to rubyonra...@googlegroups.com
I have downloaded git, ruby installer etc. I am following a tutorial on
how to installing Ruby on windows.Using cmd on Windows, After installing
devkit in the Ruby200x64 folder, I installed it successfully, created a
"testapp" folder and used the "bundle exec rails server" command and
everything shows up as it shows up on the tutorial including "Rails
applications starting in development on http://0.0.0.0:3000". However
mine shows an extra line underneath that says it is listening to every
server conditioner using 127.0.0.1 binding option. Now when he runs it
in the tutorial "localhost:3000" on the address bar works. On mine, it
does not. I am at the very last part but stuck for hours. Somebody
please help!

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

Javix

unread,
Aug 13, 2014, 7:55:48 AM8/13/14
to rubyonra...@googlegroups.com
Yo say
..created a "testapp" folder and used the "bundle exec rails server" command ...

You should create a Rails application by running:

rails new your_rails_app_name


Then navigate to the created Rails app in Windows command prompt (terminal):

cd path/to/your_rails_app_name


And only now you should execute in the terminal:

rails s


and navigate to http://localhost:3000 in your browser.

See Rails Guides that will help you to start.

Joel Witherspoon

unread,
Aug 14, 2014, 1:39:13 PM8/14/14
to rubyonra...@googlegroups.com
I wouldn't recommend CMD on Windows. Use GITBASH instead. It works really well and uses *nix commands like the books. Open one GiTBash instance for running your Rails server and the other for any of your functions.

http://installrails.com/ really helped get me going. Don't forget your sanity check!

tamouse pontiki

unread,
Aug 17, 2014, 1:16:34 PM8/17/14
to rubyonra...@googlegroups.com
I believe the problem on windows is that 'localhost' may not be bound correctly in whatever windows uses for a hosts file. I saw some folks having similar problems at a recent meetup but never did get a chance to chase it down.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0ee41527-ca5d-4943-b599-6f7c02035abd%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages