Localhost ISSUES

68 views
Skip to first unread message

Stephanie_Snowflake

unread,
Jun 26, 2018, 8:50:27 AM6/26/18
to Ruby on Rails: Talk
1. Inside project folder
2. Postgresql server is running
3. at Localhost:3000 -> is working (Yay! You're on Rails!)


I'm unable to get beyond this page. So I can actually see the app, like it looks on the live feed. 

routes.rb

Rails.application.routes.draw do
     get 'welcome/index'

 resources :feedbacks, only: [:post]


$ Rake Routes
 Prefix Verb URI Pattern                                                                              Controller#Action
            welcome_index GET  /welcome/index(.:format)                                                                 welcome#index
       rails_service_blob GET  /rails/active_storage/blobs/:signed_id/*filename(.:format)                               active_storage/blobs#show
rails_blob_representation GET  /rails/active_storage/representations/:signed_blob_id/:variation_key/*filename(.:format) active_storage/representations#show
       rails_disk_service GET  /rails/active_storage/disk/:encoded_key/*filename(.:format)                              active_storage/disk#show
update_rails_disk_service PUT  /rails/active_storage/disk/:encoded_token(.:format)                                      active_storage/disk#update
     rails_direct_uploads POST /rails/active_storage/direct_uploads(.:format)                                           active_storage/direct_uploads#create


I should be able to view my app from 

localhost:3000/welcome/index 

I get a Welcome Controller Error! 

Please Help!

Przemek Kosakowski

unread,
Jun 26, 2018, 8:53:36 AM6/26/18
to Ruby on Rails: Talk
Hi Stephanie,

Could you post here some screenshot from your browser ?

--
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/d6107b28-365e-4c9e-a127-02d502f4dd70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hassan Schroeder

unread,
Jun 26, 2018, 9:42:54 AM6/26/18
to rubyonrails-talk
On Tue, Jun 26, 2018 at 5:50 AM, Stephanie_Snowflake
<spicyc...@gmail.com> wrote:

> I'm unable to get beyond this page. So I can actually see the app, like it
> looks on the live feed.

You posted about this yesterday, but since you keep ignoring
questions it's hard to help you.

The "error" shows that your app expects you to authenticate and
redirects to a "login_url" that apparently is not now defined.

YOU have to fix that. Only you know how the app authenticates.

Also, it's almost always better to copy/paste (or gist) text output than
posting screenshots of text.
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Stephanie_Snowflake

unread,
Jun 26, 2018, 9:45:54 AM6/26/18
to Ruby on Rails: Talk

Stephanie_Snowflake

unread,
Jun 26, 2018, 9:46:26 AM6/26/18
to Ruby on Rails: Talk

Stephanie_Snowflake

unread,
Jun 26, 2018, 9:50:48 AM6/26/18
to Ruby on Rails: Talk
I have no clue on how app authenticates. I didn't write the app. This is the only app that I have problems with. I don't understand the login_url. I even went back to my ROR book and read about routes. url should be /welcome/index like it states in the routes.rb. 

Przemek Kosakowski

unread,
Jun 26, 2018, 9:55:03 AM6/26/18
to Ruby on Rails: Talk
about this routing "welcome#index" do you have in folder "app/view/" template for that controller/action ?

You should have template with name "index.html.erb" in this path: "app/views/welcome/index.html.erb"

-----------------------
Przemek Kosakowski


--
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.

Stephanie_Snowflake

unread,
Jun 26, 2018, 9:58:14 AM6/26/18
to Ruby on Rails: Talk

Stephanie_Snowflake

unread,
Jun 26, 2018, 10:00:07 AM6/26/18
to Ruby on Rails: Talk
this is localhost:3000/welcome/index


Frantz Augustin

unread,
Jun 26, 2018, 10:37:05 AM6/26/18
to rubyonra...@googlegroups.com
Hi Stephanie,

If I were you, I will comment out these two lines in def deny_access 
 # session[:forward] = request.fullpath
 # redirect_to login_url

and look what happens in your log.

Like the others, I am not sure what is going on with your authentications. 
- Hope this help


Frantz Augustin
Founder @ Club Artizan



On Tue, Jun 26, 2018 at 10:00 AM Stephanie_Snowflake <spicyc...@gmail.com> wrote:
this is localhost:3000/welcome/index


--
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.

nyt1972

unread,
Jun 26, 2018, 11:08:19 AM6/26/18
to Ruby on Rails: Talk
In you config folder check your authorization_rules.rb file, may you didnt add welcome/index there.

Stephanie_Snowflake

unread,
Jun 26, 2018, 11:09:02 AM6/26/18
to Ruby on Rails: Talk
I commented out those two lines.

Stephanie_Snowflake

unread,
Jun 26, 2018, 11:38:46 AM6/26/18
to Ruby on Rails: Talk
I don't have a authorization_rules.rb file

Is that what is missing for the project directory that I received. 

Stephanie_Snowflake

unread,
Jun 26, 2018, 12:06:26 PM6/26/18
to Ruby on Rails: Talk
Commented the next issue of deny_access

refreshed


Stephanie_Snowflake

unread,
Jun 26, 2018, 12:09:12 PM6/26/18
to Ruby on Rails: Talk
rails server
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:90: warning: already initialized constant FileUtils::VERSION
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:92: warning: previous definition of VERSION was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1188: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1446: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1541: warning: previous definition of DIRECTORY_TERM was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1448: warning: already initialized constant FileUtils::Entry_::SYSCASE
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1543: warning: previous definition of SYSCASE was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1501: warning: already initialized constant FileUtils::OPT_TABLE
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1596: warning: previous definition of OPT_TABLE was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1555: warning: already initialized constant FileUtils::LOW_METHODS
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1650: warning: previous definition of LOW_METHODS was here
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1562: warning: already initialized constant FileUtils::METHODS
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/fileutils-1.1.0/lib/fileutils.rb:1657: warning: previous definition of METHODS was here
WARNING: Nokogiri was built against LibXML version 2.9.4, but has dynamically loaded 2.8.0
=> Booting Puma
=> Rails 5.2.0 application starting in development
=> Run `rails server -h` for more startup options
[11225] Puma starting in cluster mode...
[11225] * Version 3.6.2 (ruby 2.5.1-p57), codename: Sleepy Sunday Serenity
[11225] * Min threads: 5, max threads: 5
[11225] * Environment: development
[11225] * Process workers: 1
[11225] * Preloading application
[11225] * Listening on tcp://localhost:3000
[11225] Use Ctrl-C to stop
[11225] - Worker 0 (pid: 11244) booted, phase: 0
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=5000ms state=ready
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=5000ms service=0ms state=active
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=0ms state=ready
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=0ms state=active
Started GET "/welcome" for ::1 at 2018-06-26 11:07:41 -0500
   (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
No route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'

ActionController::RoutingError (No route matches [GET] "/welcome"):

actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
/Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven-ruby-21669e97ee70/lib/raven/integrations/rack.rb:51:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/engine.rb:524:in `call'
railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'
railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/nokogiri-1.6.1/lib/nokogiri/html/document.rb:85: warning: constant ::Fixnum is deprecated
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=446ms state=completed
source=rack-timeout id=2a06cda0-f9c7-45fa-8e33-32c6ea4faa59 timeout=15000ms service=447ms state=completed
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=5000ms state=ready
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=5000ms service=0ms state=active
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=0ms state=ready
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=0ms state=active
Started GET "/" for ::1 at 2018-06-26 11:07:41 -0500
Processing by Rails::WelcomeController#index as HTML
  Rendering /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
  Rendered /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (2.7ms)
Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.0ms)


source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=35ms state=completed
source=rack-timeout id=5b313f3b-0367-40dc-b793-1b7ca54cf7b7 timeout=15000ms service=36ms state=completed
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=5000ms state=ready
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=5000ms service=0ms state=active
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=0ms state=ready
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=0ms state=active
Started GET "/" for ::1 at 2018-06-26 11:07:47 -0500
Processing by Rails::WelcomeController#index as HTML
  Rendering /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb
  Rendered /Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/railties-5.2.0/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms)


source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=19ms state=completed
source=rack-timeout id=b1e780f4-5d3c-4b70-aab2-7c28f7c07503 timeout=15000ms service=20ms state=completed
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=5000ms state=ready
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=5000ms service=0ms state=active
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=0ms state=ready
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=0ms state=active
Started GET "/welcome" for ::1 at 2018-06-26 11:07:48 -0500
No route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'

ActionController::RoutingError (No route matches [GET] "/welcome"):

actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
/Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven-ruby-21669e97ee70/lib/raven/integrations/rack.rb:51:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/engine.rb:524:in `call'
railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'
railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
/Users/snowflake/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/nokogiri-1.6.1/lib/nokogiri/html/document.rb:85: warning: constant ::Fixnum is deprecated
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=288ms state=completed
source=rack-timeout id=7f3f7079-a991-465e-a7ab-dc0a4ecaf16a timeout=15000ms service=288ms state=completed
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=5000ms state=ready
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=5000ms service=0ms state=active
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=0ms state=ready
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=0ms state=active
Started GET "/welcome" for ::1 at 2018-06-26 11:07:49 -0500
No route matches [GET] "/welcome" excluded from capture: Not configured to send/capture in environment 'development'

ActionController::RoutingError (No route matches [GET] "/welcome"):

actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
/Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven-ruby-21669e97ee70/lib/raven/integrations/rack.rb:51:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/engine.rb:524:in `call'
railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'
railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=311ms state=completed
source=rack-timeout id=23befee7-7e61-4057-a5bc-9a1091b20b31 timeout=15000ms service=311ms state=completed
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=5000ms state=ready
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=5000ms service=0ms state=active
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=0ms state=ready
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=0ms state=active
Started GET "/welcome/index" for ::1 at 2018-06-26 11:07:57 -0500
Processing by WelcomeController#index as HTML
Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)


Not notifying due to an invalid api_key
undefined method `check_auth' for #<WelcomeController:0x00007fbdd63f6678>
Did you mean?  check_ip excluded from capture: Not configured to send/capture in environment 'development'

NoMethodError (undefined method `check_auth' for #<WelcomeController:0x00007fbdd63f6678>
Did you mean?  check_ip):

activesupport (5.2.0) lib/active_support/callbacks.rb:426:in `block in make_lambda'
activesupport (5.2.0) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
actionpack (5.2.0) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
activesupport (5.2.0) lib/active_support/callbacks.rb:199:in `block in halting'
activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `block in invoke_before'
activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `each'
activesupport (5.2.0) lib/active_support/callbacks.rb:513:in `invoke_before'
activesupport (5.2.0) lib/active_support/callbacks.rb:107:in `block in run_callbacks'
/Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven-ruby-21669e97ee70/lib/raven/integrations/rails/controller_transaction.rb:7:in `block in included'
activesupport (5.2.0) lib/active_support/callbacks.rb:118:in `instance_exec'
activesupport (5.2.0) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
activesupport (5.2.0) lib/active_support/callbacks.rb:136:in `run_callbacks'
actionpack (5.2.0) lib/abstract_controller/callbacks.rb:41:in `process_action'
actionpack (5.2.0) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
activesupport (5.2.0) lib/active_support/notifications.rb:168:in `block in instrument'
activesupport (5.2.0) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
activesupport (5.2.0) lib/active_support/notifications.rb:168:in `instrument'
actionpack (5.2.0) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
actionpack (5.2.0) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
activerecord (5.2.0) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
actionpack (5.2.0) lib/abstract_controller/base.rb:134:in `process'
actionview (5.2.0) lib/action_view/rendering.rb:32:in `process'
actionpack (5.2.0) lib/action_controller/metal.rb:191:in `dispatch'
actionpack (5.2.0) lib/action_controller/metal.rb:252:in `dispatch'
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:34:in `serve'
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:52:in `block in serve'
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `each'
actionpack (5.2.0) lib/action_dispatch/journey/router.rb:35:in `serve'
actionpack (5.2.0) lib/action_dispatch/routing/route_set.rb:840:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/rack/browser_monitoring.rb:32:in `traced_call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/tempfile_reaper.rb:15:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/etag.rb:25:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/conditional_get.rb:25:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/head.rb:12:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context'
rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/cookies.rb:670:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
activerecord (5.2.0) lib/active_record/migration.rb:559:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (5.2.0) lib/active_support/callbacks.rb:98:in `run_callbacks'
actionpack (5.2.0) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
raygun4ruby (2.7.1) lib/raygun/middleware/rails_insert_affected_user.rb:11:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
raygun4ruby (2.7.1) lib/raygun/middleware/rack_exception_interceptor.rb:10:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
raygun4ruby (2.7.1) lib/raygun/middleware/breadcrumbs_store_initializer.rb:12:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
bugsnag (6.7.3) lib/bugsnag/integrations/rack.rb:46:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/rack/logger.rb:38:in `call_app'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `block in call'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `block in tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:28:in `tagged'
activesupport (5.2.0) lib/active_support/tagged_logging.rb:71:in `tagged'
railties (5.2.0) lib/rails/rack/logger.rb:26:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/request_id.rb:27:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/method_override.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/runtime.rb:22:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:123:in `block in call'
rack-timeout (0.5.1) lib/rack/timeout/support/timeout.rb:19:in `timeout'
rack-timeout (0.5.1) lib/rack/timeout/core.rb:122:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
activesupport (5.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/executor.rb:14:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
actionpack (5.2.0) lib/action_dispatch/middleware/static.rb:127:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
rack (2.0.5) lib/rack/sendfile.rb:111:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
/Users/snowflake/.rvm/gems/ruby-2.5.1/bundler/gems/raven-ruby-21669e97ee70/lib/raven/integrations/rack.rb:51:in `call'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
railties (5.2.0) lib/rails/engine.rb:524:in `call'
railties (5.2.0) lib/rails/railtie.rb:190:in `public_send'
railties (5.2.0) lib/rails/railtie.rb:190:in `method_missing'
newrelic_rpm (5.2.0.345) lib/new_relic/agent/instrumentation/middleware_tracing.rb:92:in `call'
puma (3.6.2) lib/puma/configuration.rb:225:in `call'
puma (3.6.2) lib/puma/server.rb:578:in `handle_request'
puma (3.6.2) lib/puma/server.rb:415:in `process_client'
puma (3.6.2) lib/puma/server.rb:275:in `block in run'
puma (3.6.2) lib/puma/thread_pool.rb:116:in `block in spawn_thread'
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=441ms state=completed
source=rack-timeout id=82350c38-6d17-495b-95a4-37812601b02f timeout=15000ms service=449ms state=completed

Benjamín Cárdenas Salamandra

unread,
Jun 26, 2018, 1:04:59 PM6/26/18
to rubyonra...@googlegroups.com
routes.rb

Rails.application.routes.draw do
    #complete this line...
     get 'welcome/index', to: 'welcome#index'
--
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.

hiref...@gmail.com

unread,
Jun 26, 2018, 1:12:37 PM6/26/18
to Ruby on Rails: Talk
If the welcome page is your root page, you could also write:
root 'welcome#index'

Stephanie_Snowflake

unread,
Jun 26, 2018, 3:22:46 PM6/26/18
to Ruby on Rails: Talk
I add get 'welcome/index', to: 'welcome#index'

Colin Law

unread,
Jun 26, 2018, 3:41:07 PM6/26/18
to Ruby on Rails: Talk
Are you sure that what you started with was a working application?  It sounds as if you have a whole lot missing.  In your situation I would go back to the working version and start again.

Colin

To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f101c53a-a83b-4868-afa6-ab7bdd6386a9%40googlegroups.com.
Message has been deleted

Stephanie_Snowflake

unread,
Jun 26, 2018, 4:26:31 PM6/26/18
to Ruby on Rails: Talk
Yes Colin, this is a working application that I received from the previous "developer," its running a live site. 

Colin Law

unread,
Jun 26, 2018, 4:33:09 PM6/26/18
to Ruby on Rails: Talk
Well what are you doing that stops it working?

Colin

To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/915a1801-0b11-4561-bd38-5b902ab06cdf%40googlegroups.com.

Stephanie_Snowflake

unread,
Jun 26, 2018, 4:42:36 PM6/26/18
to Ruby on Rails: Talk
It has not been updated. I'm been just updating the gems, ruby, rails, etc. Since it has not been updated since last year it looks like. 

Stephanie_Snowflake

unread,
Jun 26, 2018, 5:04:38 PM6/26/18
to Ruby on Rails: Talk
when I received the project it had Ruby 2.2.3, Rails 2.2.3, bundler 1.16.2

All of the gems were out of date. 

I still have a copy of the original project - which is the currently live version (https://pcms.herokuapp.com)

I need to do some changes to the layout, but I'm unable to until I can see this on locally. 


Colin Law

unread,
Jun 26, 2018, 5:16:03 PM6/26/18
to Ruby on Rails: Talk
On 26 June 2018 at 22:04, Stephanie_Snowflake <spicyc...@gmail.com> wrote:
> when I received the project it had Ruby 2.2.3, Rails 2.2.3, bundler 1.16.2

You can't just upgrade Rails from 2.2.3 (which is ten years old) to
Rails 5 by updating the gems. Rails is now vastly different to what
it was then. This link gives details of how to upgrade if you can get
it going with rails 3.
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html

Colin

Stephanie_Snowflake

unread,
Jun 27, 2018, 8:35:53 AM6/27/18
to Ruby on Rails: Talk
So I need to start over from the original project directory! Like uninstall rails. 

Stephanie_Snowflake

unread,
Jun 27, 2018, 8:50:49 AM6/27/18
to Ruby on Rails: Talk
I don't even have Rails 2.2.3 on my Mac! 

Colin Law

unread,
Jun 27, 2018, 8:50:52 AM6/27/18
to Ruby on Rails: Talk
On 27 June 2018 at 13:35, Stephanie_Snowflake <spicyc...@gmail.com> wrote:
> So I need to start over from the original project directory! Like uninstall
> rails.

In fact I think from the questions that you have asked that you have
very little experience with Rails. In that case I suggest that you
start by working right through a good tutorial such as
railstutorial.org, which is free to use online. Then you should
understand the basics of Rails. The reason I say this is that
upgrading a Rails app which is not even one you developed yourself can
be quite tricky. Particularly upgrading over so many versions of
Rails. Depending on the size of the app it may even be quicker to
start from scratch. Whichever route you choose a few days spent on
the tutorial will be repaid with interest when you get back to the
job.

Colin

>
> On Tuesday, June 26, 2018 at 4:16:03 PM UTC-5, Colin Law wrote:
>>
>> On 26 June 2018 at 22:04, Stephanie_Snowflake <spicyc...@gmail.com> wrote:
>> > when I received the project it had Ruby 2.2.3, Rails 2.2.3, bundler
>> > 1.16.2
>>
>> You can't just upgrade Rails from 2.2.3 (which is ten years old) to
>> Rails 5 by updating the gems. Rails is now vastly different to what
>> it was then. This link gives details of how to upgrade if you can get
>> it going with rails 3.
>> http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html
>>
>> Colin
>
> --
> 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/bb70519c-79ae-4a7c-9d59-34d40add5268%40googlegroups.com.

Colin Law

unread,
Jun 27, 2018, 8:54:46 AM6/27/18
to Ruby on Rails: Talk
On 27 June 2018 at 13:50, Stephanie_Snowflake <spicyc...@gmail.com> wrote:
> I don't even have Rails 2.2.3 on my Mac!

I am not surprised, it has been obsolete for ten years.

Colin
> --
> 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/6c25af25-1848-4694-a80c-75698aae3d9b%40googlegroups.com.

Hassan Schroeder

unread,
Jun 27, 2018, 10:16:01 AM6/27/18
to rubyonrails-talk
On Wed, Jun 27, 2018 at 5:50 AM, Stephanie_Snowflake
<spicyc...@gmail.com> wrote:
> I don't even have Rails 2.2.3 on my Mac!

That makes utterly no sense. You previously said you could run the
app, including tests, in its original form.

>> So I need to start over from the original project directory! Like
>> uninstall rails.

Upgrading a project like this is much easier if you're using a version
manager like rvm to maintain separate gemsets for the stages of the
upgrade.

Regardless, you need to get back to the original *working with tests*
starting point and upgrade a step at a time. In particular pay attention
to the deprecation warnings *and fix them* before moving on.

Good luck.

Stephanie_Snowflake

unread,
Jun 27, 2018, 11:55:56 AM6/27/18
to Ruby on Rails: Talk
Yes! I could run the original file on my older Mac, that died. It wills't run on my new Mac at all. 

I went back to the original folder and tried to download Rails 2.2.3 - it had lots of warnings. 

Stephanie_Snowflake

unread,
Jun 27, 2018, 11:56:58 AM6/27/18
to Ruby on Rails: Talk
Colin 

I found this is interested still the previous "developer" only wrote this program like four years ago. 

Stephanie_Snowflake

unread,
Jun 27, 2018, 11:59:42 AM6/27/18
to Ruby on Rails: Talk
yes! Ruby on Rails is not my best. I do more website coding (like css, html, js, php, and python)
Reply all
Reply to author
Forward
0 new messages