[Rails] Database error during 'bundle update'

2019-01-05 Thread brainiacsys5
I would greatfully appreciate some assistance. As I have been attempting to update an app I am involved with I ran into the following error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory:

[Rails] how to override a gem's views

2019-01-05 Thread fugee ohu
I'm trying to override the main layout but the gem is actually using other gems together as a group so there's a separate gem for vendor Within the vendor gem can be found app/views but within my main app the question is what should the path to overrides be vendor/app/views or app/views/vendor

Re: [Rails] how to override a gem's views

2019-01-05 Thread Walter Lee Davis
When a gem is mounted, its internal paths are mounted into the regular Rails lookup paths, but importantly, they are not looked at first in the lookup process. You can read the Rails Guide about Layouts and Rendering to learn more about this process:

Re: [Rails] Database error during 'bundle update'

2019-01-05 Thread brainiacsys5
Thank you Walter. On Saturday, January 5, 2019 at 3:38:07 PM UTC-5, Walter Lee Davis wrote: > > Make sure you have the mysql client installed on the computer or server > where you are getting this error, and also the mysql dev libraries, too. In > Ubuntu, this is done with apt-get install

[Rails] Databases (mysql vs postgres)

2019-01-05 Thread brainiacsys5
Does it matter which database you prefer? -- 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-talk+unsubscr...@googlegroups.com. To post to this

Re: [Rails] Databases (mysql vs postgres)

2019-01-05 Thread Walter Lee Davis
All databases have some unique characteristics and capabilities, but they are all pretty equal in the eyes of an ORM like ActiveRecord. In fact, that's one of the selling points of Rails -- you can write once and deploy mostly anywhere. At Penn, we use SQLite for our tests and CI, and Oracle

Re: [Rails] Database error during 'bundle update'

2019-01-05 Thread Walter Lee Davis
Make sure you have the mysql client installed on the computer or server where you are getting this error, and also the mysql dev libraries, too. In Ubuntu, this is done with apt-get install mysql-server libmysqlclient18 Walter > On Jan 5, 2019, at 2:19 PM, brainiacs...@gmail.com wrote: > > I