Try running gem pristine --all
On Tue, Oct 23, 2018 at 10:11 PM Piyush Chowhan
wrote:
> Rails 5.2.1
>
> Ruby 2.5.1
>
> are installed
>
> Not able to run server for any app
> What am I missing?
> rails s
>
> *Traceback* (most recent call last):
>
> 2: from /usr/local/bin/rails:23:in `'
>
> 1:
I'm migrating from Shrine to Active Storage. It's very similar to migrating
from paperclip. Active storage works, but the migration is not moving my
existing data over properly.
Background:
1. Modified the migration
here: https://github.com/thoughtbot/paperclip/blob/master/MIGRATING.md to
yes, that's what I ended up doing. Removed the modal, and used the
built-in submit tag confirmation.
It will have to do.
On Tue, Oct 23, 2018 at 11:56 AM Walter Lee Davis
wrote:
> You could just make the regular button show a confirmation dialog in the
> usual Rails way
>
> data: { confirm:
You could just make the regular button show a confirmation dialog in the usual
Rails way
data: { confirm: "Are you sure you want to add #{@product.name} to your cart?" }
Then there are any number of Bootstrap plug-ins that hijack a normal JS confirm
dialog (which is what the above creates)
[image: Capture.PNG]
Ok, this is what I have so far. I've added the bootstrap modal and put the
button right next to the actual button. So, I need to render this modal,
and then on the modal boxes save changes (update the cart).
oh, the other thing I couldn't figure out is how to get
[image: Capture.PNG]
Ok, this is what I have so far. I've added the bootstrap modal and put the
button right next to the actual button. So, I need to render this modal,
and then on the modal boxes save changes (update the cart).
oh, the other thing I couldn't figure out is how to get the
Rails 5.2.1
Ruby 2.5.1
are installed
Not able to run server for any app
What am I missing?
rails s
*Traceback* (most recent call last):
2: from /usr/local/bin/rails:23:in `'
1: from
/Users/apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:308:in
`activate_bin_path'
not able to run server
What am I missing?
rails s
*Traceback* (most recent call last):
2: from /usr/local/bin/rails:23:in `'
1: from
/Users/apple/.rvm/rubies/ruby-2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:308:in
`activate_bin_path'
Heroku supports postgres, so change the gem file in such a way that sqlite
is used in development and gem "pg" is used in production.
On Tue, Oct 23, 2018 at 5:22 PM Piyush Chowhan
wrote:
> Heroku Logs
>
> Running: rake assets:precompile
>
>rake aborted!
>
>Gem::LoadError: Error
Heroku Logs
Running: rake assets:precompile
rake aborted!
Gem::LoadError: Error loading the 'sqlite3' Active Record adapter.
Missing a gem it depends on? sqlite3 is not part of the bundle. Add it to your
Gemfile.
Thank you Mike, it's working now
On Tue, Oct 9, 2018 at 4:04 PM Mike Simkins wrote:
> It is all fairly well explained in the rails guides however:
>
> If your mailer is on the same box as your web app use something like..
>
> config.action_mailer.delivery_method = :sendmail
>
11 matches
Mail list logo