Re: [Rails] Localhost ISSUES

2018-06-27 Thread Stephanie_Snowflake
yes! Ruby on Rails is not my best. I do more website coding (like css, html, js, php, and python) On Wednesday, June 27, 2018 at 7:50:52 AM UTC-5, Colin Law wrote: > > On 27 June 2018 at 13:35, Stephanie_Snowflake > wrote: > > So I need to start over from the original project directory! Like

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Stephanie_Snowflake
Colin I found this is interested still the previous "developer" only wrote this program like four years ago. On Wednesday, June 27, 2018 at 7:54:46 AM UTC-5, Colin Law wrote: > > On 27 June 2018 at 13:50, Stephanie_Snowflake > wrote: > > I don't even have Rails 2.2.3 on my Mac! > > I am

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Stephanie_Snowflake
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. On Wednesday, June 27, 2018 at 9:16:01 AM UTC-5, Hassan Schroeder wrote: > > On Wed, Jun 27,

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Hassan Schroeder
On Wed, Jun 27, 2018 at 5:50 AM, Stephanie_Snowflake 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

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Colin Law
On 27 June 2018 at 13:50, Stephanie_Snowflake 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 > > On Wednesday, June 27, 2018 at 7:35:53 AM UTC-5, Stephanie_Snowflake wrote: >> >> So I need to start over from the original project

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Colin Law
On 27 June 2018 at 13:35, Stephanie_Snowflake 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

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Stephanie_Snowflake
I don't even have Rails 2.2.3 on my Mac! On Wednesday, June 27, 2018 at 7:35:53 AM UTC-5, Stephanie_Snowflake wrote: > > So I need to start over from the original project directory! Like > uninstall rails. > > On Tuesday, June 26, 2018 at 4:16:03 PM UTC-5, Colin Law wrote: >> >> On 26 June

Re: [Rails] Localhost ISSUES

2018-06-27 Thread Stephanie_Snowflake
So I need to start over from the original project directory! Like uninstall rails. On Tuesday, June 26, 2018 at 4:16:03 PM UTC-5, Colin Law wrote: > > On 26 June 2018 at 22:04, Stephanie_Snowflake > wrote: > > when I received the project it had Ruby 2.2.3, Rails 2.2.3, bundler > 1.16.2 > >

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Colin Law
On 26 June 2018 at 22:04, Stephanie_Snowflake 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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
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. On Tuesday, June 26, 2018 at 3:33:09 PM UTC-5, Colin Law wrote: > > Well what are you doing that stops it working? > > Colin > > On 26 June 2018 at 21:26,

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Colin Law
Well what are you doing that stops it working? Colin On 26 June 2018 at 21:26, Stephanie_Snowflake wrote: > Yes Colin, this is a working application that I received from the previous > "developer," its running a live site. > > On Tuesday, June 26, 2018 at 2:41:07 PM UTC-5, Colin Law wrote: >>

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
Yes Colin, this is a working application that I received from the previous "developer," its running a live site. On Tuesday, June 26, 2018 at 2:41:07 PM UTC-5, Colin Law wrote: > > Are you sure that what you started with was a working application? It > sounds as if you have a whole lot

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie Duddy
this is the working. I can see it live. On Tue, Jun 26, 2018 at 2:40 PM Colin Law wrote: > 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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Colin Law
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 On 26 June 2018 at 20:22, Stephanie_Snowflake wrote: > I add get 'welcome/index', to:

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
I add get 'welcome/index', to: 'welcome#index' On Tuesday, June 26, 2018 at 12:12:37 PM UTC-5, hiref...@gmail.com wrote: > >

Re: [Rails] Localhost ISSUES

2018-06-26 Thread hirefrantz
If the welcome page is your root page, you could also write: root 'welcome#index' On Tuesday, June 26, 2018 at 1:04:59 PM UTC-4, benc...@gmail.com wrote: > > routes.rb > > Rails.application.routes.draw do > #complete this line... > get 'welcome/index', to: 'welcome#index' > > > El

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Benjamín Cárdenas Salamandra
routes.rb Rails.application.routes.draw do     #complete this line...      get 'welcome/index', to: 'welcome#index' El 26-06-2018 a las 12:09, Stephanie_Snowflake escribió: rails server

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
Commented the next issue of deny_access refreshed -- You received this message because you are subscribed to the Google

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
I don't have a authorization_rules.rb file Is that what is missing for the project directory that I received. On Tuesday, June 26, 2018 at 10:09:02 AM UTC-5, Stephanie_Snowflake wrote: > > I commented out those two lines. > > >

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
I commented out those two lines. On Tuesday, June 26, 2018 at 9:37:05 AM UTC-5, Frantz Augustin wrote: > > Hi Stephanie, >

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Frantz Augustin
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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
this is localhost:3000/welcome/index -- You received this message because you are subscribed to the Google Groups "Ruby on

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
On Tuesday, June 26, 2018 at 8:55:03 AM UTC-5, Przemek Kosakowski wrote: > > about this routing "welcome#index" do you have

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Przemek Kosakowski
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 wt., 26 cze 2018 o 15:50

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
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. On Tuesday, June 26, 2018 at

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
On Tuesday, June 26, 2018 at 8:45:54 AM UTC-5, Stephanie_Snowflake wrote: > > >

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
On Tuesday, June 26, 2018 at 8:42:54 AM UTC-5, Hassan Schroeder wrote: > > On Tue, Jun 26, 2018 at 5:50 AM,

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Hassan Schroeder
On Tue, Jun 26, 2018 at 5:50 AM, Stephanie_Snowflake 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

Re: [Rails] Localhost ISSUES

2018-06-26 Thread Przemek Kosakowski
Hi Stephanie, Could you post here some screenshot from your browser ? wt., 26 cze 2018 o 14:50 Stephanie_Snowflake napisał(a): > 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

[Rails] Localhost ISSUES

2018-06-26 Thread Stephanie_Snowflake
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'