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] 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] 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.
Re: [Rails] rake aborted! NoMethodError: undefined method `web_console'
On 24 July 2016 at 16:33, Dd Cdwrote: > undefined method `web_console' Have you run bundle install? 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-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%3D0gLsN%2BmvproCPK5b9EvphYQDEmbme4MKrjfJoAd4isTfnfQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Rails] rake aborted error.
On Sun, May 12, 2013 at 4:22 AM, Iago A. li...@ruby-forum.com wrote: Hy guys, how I fix this problem? What do you see when you follow the instructions on line 2: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Rails] rake aborted
On Jun 21, 2012, at 12:32 PM, n/a n/a wrote: I've been trying to follow Ruby on Rails 3 Tutorial by Michael Hartl but had a problem on page 199 when it asks me to enter rake db:migrate. I got the following results: -- rake aborted! undefined method `mass_assignment_sanitizer=' for ActiveRecord::Base:Class Tasks: TOP = db:migrate = environment (See full trace by running task with --trace) -- How do I get rake to work? I would try running bundle update to make sure you have all of your gems properly installed. This sounds like a version mis-match between various Rails modules. Walter -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted
What version of rake, what version of Ruby, what version of Rails? Also, what version of Gem? There's lots of reasons why this might not work. Are you using rvm? If so, make a new gemset and bundle install again there. Triple check that the version of Rails in your tutorial matches the version installed on your computer. Walter On Jun 21, 2012, at 1:00 PM, n/a n/a wrote: I tried running bundle update but then I still got the same error on rake db:migrate. ---Original message--- -- How do I get rake to work? I would try running bundle update to make sure you have all of your gems properly installed. This sounds like a version mis-match between various Rails modules. Walter -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted with ruby on rails
On 22 November 2011 10:27, amvis vgrkrish...@gmail.com wrote: when i run rake db:create WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in vendor/plugins/exception_logger/tasks, vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks, and vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks instead. It looks like you might have out of date plugins in the vendor directory, though these are only warnings. (called from /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/rails-2.3.11/lib/tasks/rails.rb:10) DEPRECATION WARNING: Kernel#returning has been deprecated in favor of Object#tap. (called from enable_activerecord at /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39) ** TwitterAuth initialized properly. rake aborted! /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/texticle-2.0.2/lib/texticle.rb:44: syntax error, unexpected tIDENTIFIER, expecting tAMPER __send__(method, *search_terms, exclusive) This is saying there is an error in the textile gem, I don't know about that, but is that version compatible with the ruby and rails that you are using? Colin ^ /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/texticle-2.0.2/lib/texticle.rb:78: undefined (?...) sequence: /^search_by_(?columns[_a-zA-Z]\w*)$/ /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/texticle-2.0.2/lib/texticle.rb:86: undefined (?...) sequence: /^search_by_(?columns[_a-zA-Z]\w*)$/ (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 post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted with ruby on rails
Thanks colin for the reply. The above problem have fixed, because i had the 2 version of textcile. so just i uninstall one. and keep the match version of rail2.3.11.That has fixed. But now i problem with memcached *when i run rake db:create* WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in vendor/plugins/exception_logger/tasks, vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks, and vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks instead. (called from /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/rails-2.3.11/lib/tasks/rails.rb:10) DEPRECATION WARNING: Kernel#returning has been deprecated in favor of Object#tap. (called from enable_activerecord at /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39) ** TwitterAuth initialized properly. Missing these required gems: memcached You're running: ruby 1.8.7.352 at /home/vishnu/.rvm/rubies/ruby-1.8.7-p352/bin/ruby rubygems 1.5.3 at /home/vishnu/.rvm/gems/ruby-1.8.7-p352@rails2.3.11, /home/vishnu/.rvm/gems/ruby-1.8.7-p352@global Run *`rake gems:install*` to install the missing gems. And also i couldn't run this *rake gems:install, bcz the same error happened * ?? Thank you vishnu -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/eFozFKBs4zEJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted
On 18 September 2011 17:39, Amrit Pal Pathak amritpalpath...@gmail.com wrote: I migrated the database and it gives the error (in /home/amrit/library) rake aborted! no such file to load -- rubygems /home/amrit/library/Rakefile:4:in `require' (See full trace by running task with --trace) Please somebody suggest what got wrong? Do you mean that when you run the migration you get that error? If so have you got rubygems installed? Colin -- gplus.to/clanlaw -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted!
On 16 July 2011 08:44, smtabatabaie tabatabaie.mojt...@gmail.com wrote: hi , I have started to learn ruby on rails and I'm an absolute beginner . when I try to rake a database like rake db:schema:dump I get this message : rake aborted ! unknown database 'cms_development' although I have modified my database.yml and have created my database before. I'll be appreciated if someone can help me with this thanks Can you post database.yml and tell us exactly what command(s) you use to show that a database of that name does exist. Colin -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted!
On Sat, Jul 16, 2011 at 12:44 AM, smtabatabaie tabatabaie.mojt...@gmail.com wrote: hi , I have started to learn ruby on rails and I'm an absolute beginner . when I try to rake a database like rake db:schema:dump I get this message : rake aborted ! unknown database 'cms_development' although I have modified my database.yml and have created my database before. To confirm that the DB in question exists: can you access it directly from the console, using the same name/username/password that's in config/database.yml ? -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted! error
On Fri, Apr 22, 2011 at 4:26 PM, Garnash garmash.niko...@gmail.com wrote: Hi everyone, on any rake command i have error: rake aborted! no such file to load -- bundler/setup /home/snater/railsapps/seoclub/config/boot.rb:6:in `require' /home/snater/railsapps/seoclub/config/boot.rb:6:in `' /home/snater/railsapps/seoclub/config/application.rb:1:in `require' /home/snater/railsapps/seoclub/config/application.rb:1:in `' /home/snater/railsapps/seoclub/Rakefile:4:in `require' /home/snater/railsapps/seoclub/Rakefile:4:in `' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2373:in `load' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile' /usr/local/ruby/lib/ruby/1.9.1/rake.rb:1991:in `run' /usr/local/ruby/bin/rake:31:in `' Do you have any ideas how to fix this? The error is complaining about bundler/setup being missing; do you have bundler installed? Also: I've had issues with ruby 1.9.1. So, this is just anecdotal, but the other thing I would do is upgrade or downgrade to either ruby 1.9.2 or 1.8.7. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] Rake aborted!
On 9 March 2011 10:55, seeni khan rafigl...@gmail.com wrote: Hi all, I got an error when i try to run the rack task Error Rake aborted Execution expired You will have to give us a few more clues. Which OS are you using? Which versions of Ruby and Rails? Does rake go away for a long time before showing the error (how long)? Try adding the --trace option to rake to see if you get any useful information. If that does not help post the exact command you are entering and the full text of what happens. Colin -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] Rake aborted!
Hi , I am using ubuntu linux os and rails version 3.0.3,ruby version 1.8.7 and i cant trace it because if i gave rake -T --trace command again it throws the same error On Wed, Mar 9, 2011 at 4:47 PM, Colin Law clan...@googlemail.com wrote: On 9 March 2011 10:55, seeni khan rafigl...@gmail.com wrote: Hi all, I got an error when i try to run the rack task Error Rake aborted Execution expired You will have to give us a few more clues. Which OS are you using? Which versions of Ruby and Rails? Does rake go away for a long time before showing the error (how long)? Try adding the --trace option to rake to see if you get any useful information. If that does not help post the exact command you are entering and the full text of what happens. Colin -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- *Thanks Regards,* *RAFI,* ***In Every moment, thank God.* -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] Rake aborted!
On 9 March 2011 11:33, seeni khan rafigl...@gmail.com wrote: Hi , I am using ubuntu linux os and rails version 3.0.3,ruby version 1.8.7 and i cant trace it because if i gave rake -T --trace command again it throws the same error Please don't top post, it makes it difficult to follow the thread and makes it easy for you to forget to answer some of the questions (see below). Insert your reply at appropriate points in the previous message. Thanks. On Wed, Mar 9, 2011 at 4:47 PM, Colin Law clan...@googlemail.com wrote: On 9 March 2011 10:55, seeni khan rafigl...@gmail.com wrote: Hi all, I got an error when i try to run the rack task Error Rake aborted Execution expired You will have to give us a few more clues. Which OS are you using? Which versions of Ruby and Rails? Does rake go away for a long time before showing the error (how long)? You have not answered this. Try adding the --trace option to rake to see if you get any useful information. If that does not help post the exact command you are entering and the full text of what happens. You have not told us the exact command you are entering. If it happens with all rake commands you should tell us that. You say above that even with --trace you get absolutely nothing on the terminal except execution expired? Not even a reply showing which folder it is in? Colin -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted! nosuch file to load -- java
run with -- trace and post here On Wed, Dec 8, 2010 at 1:05 PM, Vamsi Krishna li...@ruby-forum.com wrote: Hi, When i was migrating the db i got the following error. rake db:migrate rake aborted! no such file to load -- java Can you please let me know what to do to solve this. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.comrubyonrails-talk%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Thanks: Rajeev sharma +919013155133 -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] Rake Aborted wont Migrate mysql
have you tried to connect to your mysql server by the mysql-client? mysql -h localhost -P 3306 -p dbname 2010/1/20 Andrew Perkins li...@ruby-forum.com: Hello all, I've been trying to get ruby on rails to work with my local install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5, rubygems 1.3.5, mysql 5.2 something I believe. I have ruby installed in: C:\Ruby and my mysql is installed in: C:\wamp\bin\mysql\mysql5.1.30\bin I've attempted to change my database.yml file to include the port 80, and port 3036, the socket path, I've checked for skip-networking in my my.ini file, my mysql bin is included in my path, I have the mysql gem installed. Everytime I try to run: rake db:migrate I get this error, I'd appreciate any help I can get, thank you: -- Error - ruby 1.8.6 (2009-08-04 patchlevel 383) [i386-mingw32] C:\Ruby\projects\music_libraryrake db:migrate (in C:/Ruby/projects/music_library) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task with --trace) C:/Ruby/bin/rake:19: [BUG] Segmentation fault ruby 1.8.6 (2009-08-04) [i386-mingw32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. -- Trace results C:\Ruby\projects\music_libraryrake --trace (in C:/Ruby/projects/music_library) ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:abort_if_pending_migrations C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/string/output_safety.rb:36: [BUG] Segmentation fault ruby 1.8.6 (2009-08-04) [i386-mingw32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. - database.yml -- development: adapter: mysql encoding: utf8 reconnect: false database: music_library_development pool: 5 port: 3306 username: root password: mypassword host: localhost -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Re: [Rails] rake aborted!
Where are you keeping this file? If you put it in somewhere like: lib/tasks It should work. Try to add: desc some text Before each task and then you can look for it when you type: rake -T 2010/1/16 Aashish Kiran li...@ruby-forum.com -rakefile- require 'csv' require 'rake' task :purchaseAlcohol do puts Purchased Vodka end task :mixDrink do puts Mixed Fuzzy Navel end task :getSmashed do puts Dood, everthing’s blurry, can I halff noth’r drinnnk? end ---end when I run rake task using any of the commands rake purchaseAlcohol rake mixDrink rake getSmashed i am getting error as rake aborted! Don't know how to build task 'taskname' Can anyone please tell how to get rid of it. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.comrubyonrails-talk%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. -- Bruno Grasselli Blog: http://brunograsselli.com.br Twitter: http://twitter.com/grasselli -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.