Rails Server not running on Cloud 9

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Rails Server not running on Cloud 9

Sal Sarkar
Hi,
I'm going through Micheal Hart'ls Ruby on Rails 3rd Edition, on Cloud9 the Rails Server refuses to Start.
Ive tried many solutions offered by different websites but nothing worked. Please help - stuck in Chapter1 for the longest time

After putting the command "rails server -b $IP -p $PORT" on Cloud9 the following shows:

salsarkar:~/workspace/hello_app $ rails server -b $IP -p $PORT
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on http://0.0.0.0:8080
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:124:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
... 5010 levels...
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `require'
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Rails Server not running on Cloud 9

Brandon McClelland

On Mon, Oct 1, 2018 at 10:48 AM Sal Sarkar <[hidden email]> wrote:
Hi,
I'm going through Micheal Hart'ls Ruby on Rails 3rd Edition, on Cloud9 the Rails Server refuses to Start.
Ive tried many solutions offered by different websites but nothing worked. Please help - stuck in Chapter1 for the longest time

After putting the command "rails server -b $IP -p $PORT" on Cloud9 the following shows:

salsarkar:~/workspace/hello_app $ rails server -b $IP -p $PORT
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on http://0.0.0.0:8080
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:124:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
... 5010 levels...
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `require'
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Brandon McClelland
User Support Technician
Steve Jackson Games

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADuEqHJjmYz_fye1OdLuXKRrYDrB_sC9XSnDFtkrz7q9MPmwgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Rails Server not running on Cloud 9

nickcon12
Brandon, 

I reviewed the stack overflow that you linked to and it is not even for the same error. I am getting the error that the OP mentioned and have not yet found the solution.

Nick

On Monday, October 1, 2018 at 12:00:43 PM UTC-4, Brandon McClelland wrote:
Have you read this? <a href="https://stackoverflow.com/questions/26663967/rails-tutorial-chapter-1-rails-server-isnt-working-on-cloud9?rq=1" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F26663967%2Frails-tutorial-chapter-1-rails-server-isnt-working-on-cloud9%3Frq%3D1\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFRuYkf3LH0ijsA0OT2rIbObALtQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F26663967%2Frails-tutorial-chapter-1-rails-server-isnt-working-on-cloud9%3Frq%3D1\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEFRuYkf3LH0ijsA0OT2rIbObALtQ&#39;;return true;">https://stackoverflow.com/questions/26663967/rails-tutorial-chapter-1-rails-server-isnt-working-on-cloud9?rq=1

On Mon, Oct 1, 2018 at 10:48 AM Sal Sarkar <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="IShcCCIlAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sals...@...> wrote:
Hi,
I'm going through Micheal Hart'ls Ruby on Rails 3rd Edition, on Cloud9 the Rails Server refuses to Start.
Ive tried many solutions offered by different websites but nothing worked. Please help - stuck in Chapter1 for the longest time

After putting the command "rails server -b $IP -p $PORT" on Cloud9 the following shows:

salsarkar:~/workspace/hello_app $ rails server -b $IP -p $PORT
=> Booting WEBrick
=> Rails 4.2.2 application starting in development on <a href="http://0.0.0.0:8080" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F0.0.0.0%3A8080\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHj-gjB1dQcuVkPmP1pKFLMPV1ufw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2F0.0.0.0%3A8080\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHj-gjB1dQcuVkPmP1pKFLMPV1ufw&#39;;return true;">http://0.0.0.0:8080
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
Exiting
/usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:124:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
... 5010 levels...
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `require'
from /home/ubuntu/workspace/hello_app/bin/spring:15:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>'

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="IShcCCIlAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="IShcCCIlAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Brandon McClelland
User Support Technician
Steve Jackson Games

--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0cf24260-656d-4611-bc45-827ca1b827b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Rails Server not running on Cloud 9

Frederick Cheung-2
That error sounds a lot the one you get with earlier versions of rails 4.2.x that weren’t compatible with ruby 2.4. I’d try the most current version of rails 4.2.x (4.2.11.1). There shouldn’t be any feature differences between that and the version you already had, so if the tutorial you are following is for rails 4 you should be fine.

Fred

On Friday, May 3, 2019 at 6:03:49 AM UTC+1, [hidden email] wrote:

> Brandon, 
>
>
> I reviewed the stack overflow that you linked to and it is not even for the same error. I am getting the error that the OP mentioned and have not yet found the solution.
>
>
> Nick
>
> On Monday, October 1, 2018 at 12:00:43 PM UTC-4, Brandon McClelland wrote:
>
>
> Have you read this? https://stackoverflow.com/questions/26663967/rails-tutorial-chapter-1-rails-server-isnt-working-on-cloud9?rq=1
>
>
> On Mon, Oct 1, 2018 at 10:48 AM Sal Sarkar <[hidden email]> wrote:
>
>
> Hi,
> I'm going through Micheal Hart'ls Ruby on Rails 3rd Edition, on Cloud9 the Rails Server refuses to Start.
> Ive tried many solutions offered by different websites but nothing worked. Please help - stuck in Chapter1 for the longest time
>  
> After putting the command "rails server -b $IP -p $PORT" on Cloud9 the following shows:
>
> salsarkar:~/workspace/hello_app $ rails server -b $IP -p $PORT
> => Booting WEBrick
> => Rails 4.2.2 application starting in development on http://0.0.0.0:8080
> => Run `rails server -h` for more startup options
> => Ctrl-C to shutdown server
> /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
> /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
> Exiting
> /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:124:in `block (2 levels) in <class:Numeric>': stack level too deep (SystemStackError)
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>         from /usr/local/rvm/gems/ruby-2.4.0/gems/activesupport-4.2.2/lib/active_support/core_ext/numeric/conversions.rb:131:in `block (2 levels) in <class:Numeric>'
>          ... 5010 levels...
>         from /home/ubuntu/workspace/hello_app/bin/spring:15:in `require'
>         from /home/ubuntu/workspace/hello_app/bin/spring:15:in `<top (required)>'
>         from bin/rails:3:in `load'
>         from bin/rails:3:in `<main>'
>
>
>
>
> --
>
> 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 [hidden email].
>
> To post to this group, send email to [hidden email].
>
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c65c5db5-0849-4f50-a573-6d627350fce3%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
>
>
>
> Brandon McClelland
> User Support Technician
> Steve Jackson Games
--
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8c554638-2d26-40a0-9434-a5a6fd531c2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.