[Rails] [SOLVED] Re: Still getting ENOENT error `initialize': No such file or directory @ rb_sysopen

2019-01-22 Thread dwilde1
It's been a decade since I coded Rails (though Ruby much more recently; there is no excuse). *Colin, you were right* file_location = '/home/din/Projects/DLC/rails_server/product_exchange/db/migrate/' files = File.new '/home/din/Projects/DLC/code_ruby/update_users_01.txt' migrate_user_files = fi

Re: [Rails] Still getting ENOENT error `initialize': No such file or directory @ rb_sysopen

2019-01-22 Thread dwilde1
On Tuesday, January 22, 2019 at 3:49:33 AM UTC-7, Colin Law wrote: > > > Is it specific to that file or directory? What happens if you try > another file somewhere else? > If it is something specific then try another file in that directory, > and so on till you work out what is going on. > I s

Re: [Rails] how do gems add routes to an app

2019-01-22 Thread Walter Lee Davis
> On Jan 22, 2019, at 12:44 AM, fugee ohu wrote: > > > > On Sunday, January 20, 2019 at 8:12:00 PM UTC-5, Walter Lee Davis wrote: > > > On Jan 20, 2019, at 8:03 PM, Walter Lee Davis wrote: > > > > > >> On Jan 20, 2019, at 4:39 PM, fugee ohu wrote: > >> > >> how do gems add their route

Re: [Rails] Still getting ENOENT error `initialize': No such file or directory @ rb_sysopen

2019-01-22 Thread Colin Law
On Mon, 21 Jan 2019 at 21:27, dwilde1 wrote: > > Now, as you can see from the output of the ls -al command, the file is there, > and it's readable and writable. The db/migrate directory is also writable by > world, but none of the tests find it and it blows up on File.open. I'm > running the up