Re: [Rails] Sass-rails
Thank you for your feedback Sasha and Walter. On Sunday, March 10, 2019 at 8:59:25 PM UTC-4, Sasha Boginsky wrote: > > Hi, > > I just switch it to sassc-rails and it works basically the same. > > Sasha > > > > On Mar 10, 2019, at 8:02 PM, Walter Lee Davis > wrote: > > > > > >> On Mar 10, 2019, at 6:17 PM, braini...@gmail.com wrote: > >> > >> Hi Everyone, > >> > >> I was just curious as to what everyone is using since sass-rails is > depreciating and if I add a ui kit it should change the look and feel of > the app without have to change a great deal of the css. Correct? > > > > I'm not aware of the sass-rails gem being deprecated, only the sass gem > itself, which is a gemspec dependency of sass-rails. We've had good luck > using the sassc gem as a replacement for that. Just add it to your gemfile > along with sass-rails and you should be all set. > > > > Walter > > > > -- > > 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/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/017556e9-8e4a-4bf6-a235-516b8856caa8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Sass-rails
Hi, I just switch it to sassc-rails and it works basically the same. Sasha > On Mar 10, 2019, at 8:02 PM, Walter Lee Davis wrote: > > >> On Mar 10, 2019, at 6:17 PM, brainiacs...@gmail.com wrote: >> >> Hi Everyone, >> >> I was just curious as to what everyone is using since sass-rails is >> depreciating and if I add a ui kit it should change the look and feel of the >> app without have to change a great deal of the css. Correct? > > I'm not aware of the sass-rails gem being deprecated, only the sass gem > itself, which is a gemspec dependency of sass-rails. We've had good luck > using the sassc gem as a replacement for that. Just add it to your gemfile > along with sass-rails and you should be all set. > > Walter > > -- > 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 group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E3F6AA64-A196-4B15-9E8A-825F4A31019D%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Sass-rails
> On Mar 10, 2019, at 6:17 PM, brainiacs...@gmail.com wrote: > > Hi Everyone, > > I was just curious as to what everyone is using since sass-rails is > depreciating and if I add a ui kit it should change the look and feel of the > app without have to change a great deal of the css. Correct? I'm not aware of the sass-rails gem being deprecated, only the sass gem itself, which is a gemspec dependency of sass-rails. We've had good luck using the sassc gem as a replacement for that. Just add it to your gemfile along with sass-rails and you should be all set. Walter -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/BDD1890F-D9D1-4CFC-8101-403AE019DD12%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Sass-rails
Hi Everyone, I was just curious as to what everyone is using since sass-rails is depreciating and if I add a ui kit it should change the look and feel of the app without have to change a great deal of the css. Correct? -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cf0d6590-eb5b-46b1-b034-ef1e80334270%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
I installed NodeJs and it worked like a charm. Thank you Colin, Walter and everyone. The only issue I have now appears to be Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'. It never ends. LOL n Sunday, March 10, 2019 at 5:57:48 PM UTC-4, Colin Law wrote: > > On Sun, 10 Mar 2019 at 20:30, > wrote: > > > > Hi Colin, > > > > I am not sure but I think the issue is that it is running on a desktop > right now rather than on a webserver. > > Shouldn't make any difference, provided you have run bundle install on > the desktop. Nowadays I do use nodejs but I used to use therubyracer. > You could post your Gemfile here for us to see. > Alternatively you could just install nodejs. If this is a Debian based > system (Ubuntu for example) then you can run > sudo apt-get install nodejs > and then I think you can remove therubyracer. > > Colin > > > > > Thanks, > > > > On Sunday, March 10, 2019 at 4:04:21 PM UTC-4, Colin Law wrote: > >> > >> On Sun, 10 Mar 2019 at 17:35, wrote: > >> > > >> > Thank you Walter and Hasan. The gem is actually in the gem file but > this occurred in development on my desktop so my guess would be I would > need to install it there. > >> > >> If therubyracer is in your Gemfile then that should be enough. > >> > >> Colin > >> > >> > > >> > On Sunday, March 10, 2019 at 1:27:30 PM UTC-4, Walter Lee Davis > wrote: > >> >> > >> >> Correct. Your server does not have a JavaScript interpreter > available at the command line. These days, I just install whatever version > of NodeJS is in the package manager for that server. If you want to avoid > any server dependencies, you can just add therubyracer to your Gemfile and > bundle on the server will install that. That's a JS interpreter written > entirely in vanilla Ruby. > >> >> > >> >> Walter > >> >> > >> >> > On Mar 10, 2019, at 1:21 PM, braini...@gmail.com wrote: > >> >> > > >> >> > Yes I did. Where I was thrown off is in trying to understand what > the literal issue is so I could resolve it as my understanding was if there > were any outstanding issues with the app it wouldnt bundle I assumed the > issue to be OS related. I > >> >> > > >> >> > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder > wrote: > >> >> > On Sun, Mar 10, 2019 at 9:45 AM wrote: > >> >> > > >> >> > > Now that the bundle install has run successfully I have run into > the following error while running rake db:create. Does anyone have any > ideas how to resolve the issue? > >> >> > > >> >> > > rake aborted! > >> >> > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. > See https://github.com/rails/execjs for a list of available runtimes. > >> >> > > >> >> > Did you follow the link in the message? > >> >> > > >> >> > -- > >> >> > Hassan Schroeder hassan.s...@gmail.com > >> >> > twitter: @hassan > >> >> > Consulting Availability : Silicon Valley or remote > >> >> > > >> >> > -- > >> >> > 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/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. > > > >> >> > For more options, visit https://groups.google.com/d/optout. > >> >> > >> > -- > >> > 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/462f08c9-c75c-4d7c-9b0f-2c4674b45328%40googlegroups.com. > > > >> > For more options, visit https://groups.google.com/d/optout. > > > > -- > > 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/4028b458-ae0c-485c-bd4d-9761b0b6828b%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- 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 group, send email to
Re: [Rails] Rake aborted!
On Sun, 10 Mar 2019 at 20:30, wrote: > > Hi Colin, > > I am not sure but I think the issue is that it is running on a desktop right > now rather than on a webserver. Shouldn't make any difference, provided you have run bundle install on the desktop. Nowadays I do use nodejs but I used to use therubyracer. You could post your Gemfile here for us to see. Alternatively you could just install nodejs. If this is a Debian based system (Ubuntu for example) then you can run sudo apt-get install nodejs and then I think you can remove therubyracer. Colin > > Thanks, > > On Sunday, March 10, 2019 at 4:04:21 PM UTC-4, Colin Law wrote: >> >> On Sun, 10 Mar 2019 at 17:35, wrote: >> > >> > Thank you Walter and Hasan. The gem is actually in the gem file but this >> > occurred in development on my desktop so my guess would be I would need to >> > install it there. >> >> If therubyracer is in your Gemfile then that should be enough. >> >> Colin >> >> > >> > On Sunday, March 10, 2019 at 1:27:30 PM UTC-4, Walter Lee Davis wrote: >> >> >> >> Correct. Your server does not have a JavaScript interpreter available at >> >> the command line. These days, I just install whatever version of NodeJS >> >> is in the package manager for that server. If you want to avoid any >> >> server dependencies, you can just add therubyracer to your Gemfile and >> >> bundle on the server will install that. That's a JS interpreter written >> >> entirely in vanilla Ruby. >> >> >> >> Walter >> >> >> >> > On Mar 10, 2019, at 1:21 PM, braini...@gmail.com wrote: >> >> > >> >> > Yes I did. Where I was thrown off is in trying to understand what the >> >> > literal issue is so I could resolve it as my understanding was if there >> >> > were any outstanding issues with the app it wouldnt bundle I assumed >> >> > the issue to be OS related. I >> >> > >> >> > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder wrote: >> >> > On Sun, Mar 10, 2019 at 9:45 AM wrote: >> >> > >> >> > > Now that the bundle install has run successfully I have run into the >> >> > > following error while running rake db:create. Does anyone have any >> >> > > ideas how to resolve the issue? >> >> > >> >> > > rake aborted! >> >> > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See >> >> > > https://github.com/rails/execjs for a list of available runtimes. >> >> > >> >> > Did you follow the link in the message? >> >> > >> >> > -- >> >> > Hassan Schroeder hassan.s...@gmail.com >> >> > twitter: @hassan >> >> > Consulting Availability : Silicon Valley or remote >> >> > >> >> > -- >> >> > 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/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. >> >> > For more options, visit https://groups.google.com/d/optout. >> >> >> > -- >> > 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/462f08c9-c75c-4d7c-9b0f-2c4674b45328%40googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. > > -- > 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 group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/4028b458-ae0c-485c-bd4d-9761b0b6828b%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvYcCRH_rLUKEg9G4nXaGk2ZfP8Om0HdCBp%3DhESN%3DST_Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
Hi Colin, I am not sure but I think the issue is that it is running on a desktop right now rather than on a webserver. Thanks, On Sunday, March 10, 2019 at 4:04:21 PM UTC-4, Colin Law wrote: > > On Sun, 10 Mar 2019 at 17:35, > wrote: > > > > Thank you Walter and Hasan. The gem is actually in the gem file but this > occurred in development on my desktop so my guess would be I would need to > install it there. > > If therubyracer is in your Gemfile then that should be enough. > > Colin > > > > > On Sunday, March 10, 2019 at 1:27:30 PM UTC-4, Walter Lee Davis wrote: > >> > >> Correct. Your server does not have a JavaScript interpreter available > at the command line. These days, I just install whatever version of NodeJS > is in the package manager for that server. If you want to avoid any server > dependencies, you can just add therubyracer to your Gemfile and bundle on > the server will install that. That's a JS interpreter written entirely in > vanilla Ruby. > >> > >> Walter > >> > >> > On Mar 10, 2019, at 1:21 PM, braini...@gmail.com wrote: > >> > > >> > Yes I did. Where I was thrown off is in trying to understand what the > literal issue is so I could resolve it as my understanding was if there > were any outstanding issues with the app it wouldnt bundle I assumed the > issue to be OS related. I > >> > > >> > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder > wrote: > >> > On Sun, Mar 10, 2019 at 9:45 AM wrote: > >> > > >> > > Now that the bundle install has run successfully I have run into > the following error while running rake db:create. Does anyone have any > ideas how to resolve the issue? > >> > > >> > > rake aborted! > >> > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. > See https://github.com/rails/execjs for a list of available runtimes. > >> > > >> > Did you follow the link in the message? > >> > > >> > -- > >> > Hassan Schroeder hassan.s...@gmail.com > >> > twitter: @hassan > >> > Consulting Availability : Silicon Valley or remote > >> > > >> > -- > >> > 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/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. > > > >> > For more options, visit https://groups.google.com/d/optout. > >> > > -- > > 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/462f08c9-c75c-4d7c-9b0f-2c4674b45328%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4028b458-ae0c-485c-bd4d-9761b0b6828b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
On Sun, 10 Mar 2019 at 17:35, wrote: > > Thank you Walter and Hasan. The gem is actually in the gem file but this > occurred in development on my desktop so my guess would be I would need to > install it there. If therubyracer is in your Gemfile then that should be enough. Colin > > On Sunday, March 10, 2019 at 1:27:30 PM UTC-4, Walter Lee Davis wrote: >> >> Correct. Your server does not have a JavaScript interpreter available at the >> command line. These days, I just install whatever version of NodeJS is in >> the package manager for that server. If you want to avoid any server >> dependencies, you can just add therubyracer to your Gemfile and bundle on >> the server will install that. That's a JS interpreter written entirely in >> vanilla Ruby. >> >> Walter >> >> > On Mar 10, 2019, at 1:21 PM, braini...@gmail.com wrote: >> > >> > Yes I did. Where I was thrown off is in trying to understand what the >> > literal issue is so I could resolve it as my understanding was if there >> > were any outstanding issues with the app it wouldnt bundle I assumed the >> > issue to be OS related. I >> > >> > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder wrote: >> > On Sun, Mar 10, 2019 at 9:45 AM wrote: >> > >> > > Now that the bundle install has run successfully I have run into the >> > > following error while running rake db:create. Does anyone have any ideas >> > > how to resolve the issue? >> > >> > > rake aborted! >> > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See >> > > https://github.com/rails/execjs for a list of available runtimes. >> > >> > Did you follow the link in the message? >> > >> > -- >> > Hassan Schroeder hassan.s...@gmail.com >> > twitter: @hassan >> > Consulting Availability : Silicon Valley or remote >> > >> > -- >> > 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/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> > -- > 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 group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/462f08c9-c75c-4d7c-9b0f-2c4674b45328%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu%2BG2yKRtAZ8KFVWOBevKn8gL2UPLKRwSTUZMfjGQxJYA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Database dump and import
Correct Walter. I have the data. I have to do a conversion and then it is all set. On Sunday, March 10, 2019 at 1:26:32 PM UTC-4, Walter Lee Davis wrote: > > Just the schema. For the data, you'd need to run a backup utility of some > sort. On MySQL, there's mysqldump, I'm pretty sure there's similar on the > Postgres side, so no matter which direction you want to go, you'd be set. > Be sure to only dump the data, not the structure, if you're using the > schema:dump technique. Rails' database adapters are smart, and they can do > the exact same structure with all the local weirdnesses that are required > by the respective engines. > > Walter > > > On Mar 10, 2019, at 5:58 AM, Rob Jonson > wrote: > > > > bundle exec rails db:schema:dump > > > > does this dump the data, or just the schema? > > > > I would assume just the schema - and that to transfer the data you'll > need to use something like the solutions here: > > > https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL > > > > > -- > > 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/5fcb6342-219a-41d8-882b-1ada288d%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/b9158a6e-b532-4812-af96-3bd0ce72baa5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
Thank you Walter and Hasan. The gem is actually in the gem file but this occurred in development on my desktop so my guess would be I would need to install it there. On Sunday, March 10, 2019 at 1:27:30 PM UTC-4, Walter Lee Davis wrote: > > Correct. Your server does not have a JavaScript interpreter available at > the command line. These days, I just install whatever version of NodeJS is > in the package manager for that server. If you want to avoid any server > dependencies, you can just add therubyracer to your Gemfile and bundle on > the server will install that. That's a JS interpreter written entirely in > vanilla Ruby. > > Walter > > > On Mar 10, 2019, at 1:21 PM, braini...@gmail.com wrote: > > > > Yes I did. Where I was thrown off is in trying to understand what the > literal issue is so I could resolve it as my understanding was if there > were any outstanding issues with the app it wouldnt bundle I assumed the > issue to be OS related. I > > > > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder wrote: > > On Sun, Mar 10, 2019 at 9:45 AM wrote: > > > > > Now that the bundle install has run successfully I have run into the > following error while running rake db:create. Does anyone have any ideas > how to resolve the issue? > > > > > rake aborted! > > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See > https://github.com/rails/execjs for a list of available runtimes. > > > > Did you follow the link in the message? > > > > -- > > Hassan Schroeder hassan.s...@gmail.com > > twitter: @hassan > > Consulting Availability : Silicon Valley or remote > > > > -- > > 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/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. > > -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/462f08c9-c75c-4d7c-9b0f-2c4674b45328%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
Correct. Your server does not have a JavaScript interpreter available at the command line. These days, I just install whatever version of NodeJS is in the package manager for that server. If you want to avoid any server dependencies, you can just add therubyracer to your Gemfile and bundle on the server will install that. That's a JS interpreter written entirely in vanilla Ruby. Walter > On Mar 10, 2019, at 1:21 PM, brainiacs...@gmail.com wrote: > > Yes I did. Where I was thrown off is in trying to understand what the literal > issue is so I could resolve it as my understanding was if there were any > outstanding issues with the app it wouldnt bundle I assumed the issue to be > OS related. I > > On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder wrote: > On Sun, Mar 10, 2019 at 9:45 AM wrote: > > > Now that the bundle install has run successfully I have run into the > > following error while running rake db:create. Does anyone have any ideas > > how to resolve the issue? > > > rake aborted! > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See > > https://github.com/rails/execjs for a list of available runtimes. > > Did you follow the link in the message? > > -- > Hassan Schroeder hassan.s...@gmail.com > twitter: @hassan > Consulting Availability : Silicon Valley or remote > > -- > 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 group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9ADF24EF-B643-4E3C-A0B8-970B38963679%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Database dump and import
Just the schema. For the data, you'd need to run a backup utility of some sort. On MySQL, there's mysqldump, I'm pretty sure there's similar on the Postgres side, so no matter which direction you want to go, you'd be set. Be sure to only dump the data, not the structure, if you're using the schema:dump technique. Rails' database adapters are smart, and they can do the exact same structure with all the local weirdnesses that are required by the respective engines. Walter > On Mar 10, 2019, at 5:58 AM, Rob Jonson wrote: > > bundle exec rails db:schema:dump > > does this dump the data, or just the schema? > > I would assume just the schema - and that to transfer the data you'll need to > use something like the solutions here: > https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL > > > -- > 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 group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/5fcb6342-219a-41d8-882b-1ada288d%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/E0E67B86-7DB3-4CBC-9C50-8B867F7ACAD6%40wdstudio.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
Yes I did. Where I was thrown off is in trying to understand what the literal issue is so I could resolve it as my understanding was if there were any outstanding issues with the app it wouldnt bundle I assumed the issue to be OS related. I On Sunday, March 10, 2019 at 1:10:22 PM UTC-4, Hassan Schroeder wrote: > > On Sun, Mar 10, 2019 at 9:45 AM > > wrote: > > > Now that the bundle install has run successfully I have run into the > following error while running rake db:create. Does anyone have any ideas > how to resolve the issue? > > > rake aborted! > > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See > https://github.com/rails/execjs for a list of available runtimes. > > Did you follow the link in the message? > > -- > Hassan Schroeder hassan.s...@gmail.com > > twitter: @hassan > Consulting Availability : Silicon Valley or remote > -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c9b83824-b33c-4645-ba0b-84ec0d799494%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Rake aborted!
On Sun, Mar 10, 2019 at 9:45 AM wrote: > Now that the bundle install has run successfully I have run into the > following error while running rake db:create. Does anyone have any ideas how > to resolve the issue? > rake aborted! > ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See > https://github.com/rails/execjs for a list of available runtimes. Did you follow the link in the message? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan Consulting Availability : Silicon Valley or remote -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCjPtXUbSbAayON1Px6cBDAc58RmnC%3DBgOmx1cE197AMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Rails] Rake aborted!
Hi Everyone, Now that the bundle install has run successfully I have run into the following error while running rake db:create. Does anyone have any ideas how to resolve the issue? Thanks, rake aborted! ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in `autodetect' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:5:in `' /var/lib/gems/2.3.0/gems/execjs-2.7.0/lib/execjs.rb:4:in `' /var/lib/gems/2.3.0/gems/uglifier-4.1.20/lib/uglifier.rb:5:in `require' /var/lib/gems/2.3.0/gems/uglifier-4.1.20/lib/uglifier.rb:5:in `' /home/nessnipes/webapp/config/application.rb:7:in `' /home/nessnipes/webapp/Rakefile:4:in `' /var/lib/gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `' (See full trace by running task with --trace) -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3391f9d1-b283-4db5-bc02-1f51d75278bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Database dump and import
> > bundle exec rails db:schema:dump does this dump the data, or just the schema? I would assume just the schema - and that to transfer the data you'll need to use something like the solutions here: https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL -- 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 group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5fcb6342-219a-41d8-882b-1ada288d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.