run rails -e production
error like this:
Internal Server Error
Missing `secret_key_base` for 'production' environment, set this value in `config/secrets.yml`Pada Senin, 31 Oktober 2016 15.54.06 UTC+7, Chirag Jain menulis:
Try to launch your app locally in production mode
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+unsubscribe@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/1e0148b5-43f3-42c0-adab-02ccc3125dab%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+unsubscribe@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/92b4d102-907d-40ef-8c1e-4ad9f00942a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Try to launch your app locally in production mode
--
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+unsubscribe@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/10a2c495-fdf0-4fa9-8bbc-6f81b0c2bcb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1.push (succes)
2.heroku run rake db:migrate (succes)
3.i click 'open app' on dashboard heroku show message appliaction error
4.i open logs on dashborad like this error H10 screenshot:
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+unsubscribe@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/d46e6e69-1b7a-4c50-b658-660121d8fd14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Sat, Oct 29, 2016 at 4:00 AM, Vivek Vvk <wiwek.ece@gmail.com> wrote:
> yes, it is. But I was looking for more of a delivery process.
Uh, then why did you title your post "continuous integration"?
> How abt delivering it like a package to external clients?
How about it? What exactly do you mean by "like a package"?
What do you expect these "external clients" to do with the "package"?
Hint: if you can't actually define your requirements, you're unlikely to
find very good solutions here or anywhere else :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
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+unsubscribe@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/CACmC4yDqtNQD%2Bp%3DSo8M4oB5iBOf7iFzR0XrrEFSO1RKipgnykg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
yes, it is. But I was looking for more of a delivery process. Pulling the latest version from repository and restarting app is fine for internal deployment. How abt delivering it like a package to external clients?
--
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+unsubscribe@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/2741b085-e248-4509-aed7-a843ca38118a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wednesday, 26 October 2016 12:45:48 UTC+2, Serguei Cambour wrote:
How is it possible to call sanitize on the below collection_radio_buttons method:
= f.collection_radio_buttons :answer_ids, @question.answers, :idI tried as follows and it failed:
= f.collection_radio_buttons :answer_ids, @question.answers, :id, sanitize(:text, tags: %w(sub sup))
Any idea? Thank you.
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+unsubscribe@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/38211e72-23b2-482b-b223-337d4282bf53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 2016-Oct-27, at 08:26 , Serguei Cambour <s.cambour@gmail.com> wrote:I figured out how to achieve that:<%= f.collection_radio_buttons :name, [[true, 'H<sub>2</sub>O'] ,[false, 'SO<sub>2</sub>']],:first, :last do |b| %>
<%= b.label {b.radio_button + sanitize(b.text, tags: %w(sub sup))}%>
<%end%>
On Wednesday, 26 October 2016 12:45:48 UTC+2, Serguei Cambour wrote:How is it possible to call sanitize on the below collection_radio_buttons method:= f.collection_radio_buttons :answer_ids, @question.answers, :id
I tried as follows and it failed:= f.collection_radio_buttons :answer_ids, @question.answers, :id, sanitize(:text, tags: %w(subsup))
Any idea? Thank you.
<%= f.collection_radio_buttons :name, [[true, 'H<sub>2</sub>O'] ,[false, 'SO<sub>2</sub>']], :first, :last do |b| %>
<%= b.label {b.radio_button + sanitize(b.text, tags: %w(sub sup))}%>
<%end%>
On Wednesday, 26 October 2016 12:45:48 UTC+2, Serguei Cambour wrote:
How is it possible to call sanitize on the below collection_radio_buttons method:
= f.collection_radio_buttons :answer_ids, @question.answers, :idI tried as follows and it failed:
= f.collection_radio_buttons :answer_ids, @question.answers, :id, sanitize(:text, tags: %w(sub sup))
Any idea? Thank you.
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+unsubscribe@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/30f058a2-9d61-4ce8-bfbd-8b07aa1c7eb4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<sub>
and
<sup>
tags.
On Wednesday, 26 October 2016 12:45:48 UTC+2, Serguei Cambour wrote:
How is it possible to call sanitize on the below collection_radio_buttons method:
= f.collection_radio_buttons :answer_ids, @question.answers, :idI tried as follows and it failed:
= f.collection_radio_buttons :answer_ids, @question.answers, :id, sanitize(:text, tags: %w(sub sup))
Any idea? Thank you.
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+unsubscribe@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/399b66ee-6282-4816-af13-8a188ebd733d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Oct 26, 2016 at 06:37:13AM -0700, Vivek Vvk wrote:
> yes, thats more of a deployment tool. I am able to deploy my rails app in a
> continuos manner right now. I just want to know if my approach is rite and
> if there is any specific build techniques for rails app. Currently, I just
> pull the source code from repo --> tar it into a package--> stop app in
> target ---> untar the package in target (and some other release versioning
> stuff) using ansible --> start the app.
Continuous integration is not a well defined term, but you are just
describing the deployment step. That is not continuous integration. That
said it really doesn't matter what deployment tool you use. Capistrano
is the most popular. Ansible is fine, but it sounds like you aren't
really leveraging most of Ansible's features.
If you want to improve you process:
* Get your deployment processes dialed in to where you can deploy at any
time by calling a single command. You don't want a combination of
manual steps, home rolled scripts, and tools.
* Fully leverage whatever tool you choose. Both Ansible and Capistrano
can do everything you describe, but you are just using Ansible to
restart your web server.
* Try and reduce your down time - you are stopping your app too
soon. Setup your new app, point your web server at the new app, and
then restart the web server. There are many ways to do this. One
popular way is to make a symlink that points at your application
directory and configure your web server to use that symlink as your
application directory. Then you can just point the symlink at
your new directory and restart the web server. Capistrano does this
for you.
There's a lot of good information on deploying rails apps with
Capistrano. If you aren't already an expert in Ansible I would give
Capistrano a go. I does a lot of things correctly right out of the box.
--
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+unsubscribe@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/20161026143906.GA55261%40endor.local.
For more options, visit https://groups.google.com/d/optout.
yes, thats more of a deployment tool. I am able to deploy my rails app in a continuos manner right now. I just want to know if my approach is rite and if there is any specific build techniques for rails app. Currently, I just pull the source code from repo --> tar it into a package--> stop app in target ---> untar the package in target (and some other release versioning stuff) using ansible --> start the app.
--Thanks,Vivek
On Wednesday, 26 October 2016 04:04:05 UTC+5:30, Hassan Schroeder wrote:On Tue, Oct 25, 2016 at 1:03 PM, Vivek Vvk <wiwe...@gmail.com> wrote:
> Please suggest if we have any specific build process for rails app.
I'd call this more of a "deployment" than "build" tool, but it's most
definitely in widespread use:
http://capistranorb.com/
HTH!
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
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+unsubscribe@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/ .0be8a91b-7bb0-454a-ae85- c96449b72b93%40googlegroups. com
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+unsubscribe@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%3D0gLsYrzFYhjK0T%2B5ze5U1EZ3ySo20B9q_JZEceR6GXP4Z0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wed, Oct 26, 2016 at 6:37 AM, Vivek Vvk <wiwek.ece@gmail.com> wrote:
> yes, thats more of a deployment tool. I am able to deploy my rails app in a
> continuos manner right now. I just want to know if my approach is rite and
> if there is any specific build techniques for rails app.
What do you think you need to "build"? Ruby isn't Java :-)
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
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+unsubscribe@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/CACmC4yACZhoA%2B2PHC-unYGRa7XWOcpiJHMSipni4QOLTt%3DP0fg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wednesday, 26 October 2016 04:04:05 UTC+5:30, Hassan Schroeder wrote:
On Tue, Oct 25, 2016 at 1:03 PM, Vivek Vvk <wiwe...@gmail.com> wrote:
> Please suggest if we have any specific build process for rails app.
I'd call this more of a "deployment" than "build" tool, but it's most
definitely in widespread use:
http://capistranorb.com/
HTH!
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
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+unsubscribe@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/0be8a91b-7bb0-454a-ae85-c96449b72b93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
= f.collection_radio_buttons :answer_ids, @question.answers, :id
= f.collection_radio_buttons :answer_ids, @question.answers, :id, sanitize(:text, tags: %w(sub sup))
Any idea? Thank you.
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+unsubscribe@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/b3e7ba15-0f52-4c19-a8ed-3ff7661576e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Oct 25, 2016 at 1:03 PM, Vivek Vvk <wiwek.ece@gmail.com> wrote:
> Please suggest if we have any specific build process for rails app.
I'd call this more of a "deployment" than "build" tool, but it's most
definitely in widespread use:
http://capistranorb.com/
HTH!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
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+unsubscribe@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/CACmC4yDUodi96kZQ8%3DLLFB%3D1_w2-U-D9SPeajXyU-r-gjpP5QA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
· Fetches the code from Git source code repository.
· Build the code (tar) and put it in the build server.
· Triggers the deployment jobs.
Ansible
· Copy the build package to the remote deployment server.
· Un tar the build package.
· Tag the release version.
· Stop app
· Link the release version to the application folder. (Deploy application)
· Start app
· Maintains 3 release versions in the target deployment server. (So that we can rollback to previous version of the code, if required.
Please suggest if we have any specific build process for rails app. Currently I am just using tar.
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+unsubscribe@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/9d144c71-97c5-45e8-8ecc-12182fe19f53%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+unsubscribe@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/80430905-55c8-4123-a707-227362dcb2fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm pretty sure you know this, but I have my own set of startup templates at https://github.com/tamouse/my-rails-application-templatesOn Mon, Oct 24, 2016 at 12:57 AM Allen Maxwell <allen.maxwell@bhghome.com> wrote:--
Depending on my needs, I often use RailsComposer by Daniel Kehoe. Some great options and the ability to create your own scripts - so you can build whatever you like...
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+unsubscribe@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/7af5c0fe-e4b4-432d-a15b-5187832efebb%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+unsubscribe@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/CAHUC_t-XBHaDJf7e5z93w4%3D35r%2B0J6K9szxBHEVtsq2Y%3Dp%2B0Wg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Depending on my needs, I often use RailsComposer by Daniel Kehoe. Some great options and the ability to create your own scripts - so you can build whatever you like...
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+unsubscribe@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/7af5c0fe-e4b4-432d-a15b-5187832efebb%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+unsubscribe@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/CAHUC_t8Kje4ykdiFXrGJM_u7PBBJ58xdXbGdiCfKKacJTBVsPg%40mail.gmail.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+unsubscribe@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/d1edc7fb-c6ff-47be-a0c3-5a37587a1e62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Depending on my needs, I often use RailsComposer by Daniel Kehoe. Some great options and the ability to create your own scripts - so you can build whatever you like...
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+unsubscribe@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/7af5c0fe-e4b4-432d-a15b-5187832efebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.