Ruby on Rails Community Forum

Deployment Error on rake assets:precompile

0
Rails
I deployed my rails 6 application but on 'cap production deploy', when the 'rake assets:precompile' is run, I receive the following error. ModuleNotFoundError: Module not found: Error: Can't resolv...
abdullah19100142 posted

Having problems getting SSL cert w/Rails app from guide:

0
Servers
Hi, I was following this guide - https://gorails.com/guides/free-ssl-with-rails-and-nginx-using-let-s-encrypt - and i got past the error of ```Package 'python-virtualenv' has no installation cand...
Ryan V posted

How to Test Gem Dependencies with Appraisal Discussion

1
General
Thanks Chris, I actually can use this for making futurism future-proof 😅 The only thing I see is (and I'm using the exact same setup you do in that video), that appraisal fails to correctly load t...
julianrubisch replied

How do I integrate a bootstrap theme with rails 6 ?

4
CSS
Hello, I'm a new subscriber and would like to integrate a new bootstrap theme from https://themes.getbootstrap.com/ Which tutorial would you recommed? I used the "How to use bootstrap with web...
Tim Jones replied

How do I add Bootstrap theme to an existing Rails application?

1
Rails
Hi everyone! I'm new to RoR, I have followed the blog tutorial on the rails guide website and now want to add layout (Bootstrap to be specific) but don't know how to. I have read so many articles b...
Tim Jones replied

How can I switch from RVM to RBENV?

3
Ruby
I have followed the deployment capistrano guide in the past on GoRails. At the time I setup using RVM... what are the steps to switching from RVM to RBENV? I think I would need to changeover on m...
asherxo replied

Rails 6 Active storage setup - NameError Exception: uninitialized constant #<Class:0x00007fddde3597d8>::Analyzable

3
Rails
I'm setting active storage with s3 in Rails 6. - I did rails `active_storage:install` and `db:migrate`. - In development.rb, i added: `config.active_storage.service = :amazon` - I added `gem "...
Richard C replied

Reopen ActionCable after login?

4
Rails
Hey Folks, I'm currently using [Jumpstart](https://jumpstartrails.com/) and [Stimulus Reflex](https://gorails.com/episodes/stimulus-reflex-basics). After logging in, I am getting an error in the...
Marcus S replied

Amazon Cloudfront CDN for Rails Asset Pipeline & Webpacker Discussion

15
General
Warning: when using a load-balanced production configuration, this configuration can result in intermittently broken assets. The problem occurs when traffic arrives during a reload that includes fr...
Abhishek Srivastava replied

Mail Password hacked

2
Rails
I have a Rails application that runs on an Ubuntu server and sends emails through an external SMTP server. Now I was informed by my provider that the email password of the SMTP server was hacked an...
Herbert Schmoll replied

Struggling to get rails working

3
Rails
If I use "sudo gem install rails", it says everything is installed Then I hit "rbenv rehash" and try to create a new project. The CLI gives me the error: Rails is not currently installed on this ...
sam replied

Hatchbox deployment. public/index.html not found

5
Servers
Hi, I am deploying to hatchbox and everything appears fine until i load the site up in the browser. Looking at the logs there is no public/index.html. On my development environment there is also n...
Chris Oliver replied

How to Deploy ActionCable and Rails 5 To Production Discussion

22
General
Nice! This is pretty much what we also recommend in our upcoming Action Cable integration documentation.One thing that I'd like to add is that you will need to configure config/cable.yml to specify...
Shivashish Singh replied

Shrine: get URL of uploaded with host

0
Rails
I use shrine for uploading excel sheets. I need to process those files. How can I get the url but with host? I tried the plugin default_url. But it doesn't work
Yassine Hafidi posted

Serving Assets on Nginx + Passenger Production Deployment

1
Servers
Not sure if I picked the correct category, but I'm having trouble getting Nginx to serve the assets when in production. Most of the tutorials/forums I find are for older versions of Rails, and none...
Axel Kee replied

Can Jumpstart initialize with RSpec instead of minitest?

3
General
I prefer RSpec and its related tools and community enhancements. Can I boot a new app with Jumpstart Pro using RSpec rather than mintiest? I see a good number of tests are seeded with the code fo...
Chris Oliver replied

Skipping Devise Confirmation for Stripe Signup

0
Rails
Hi Chris - How could I skip the Devise confirmation if a user is signing up to pay with Stripe? I am following this video on your stripe course: https://courses.gorails.com/courses/payments-with-r...
Brian Gilbank posted

Postgres issues

1
Databases
Hi, So as i began a project earlier in the year, i decided to go full Docker for deployment. That was all good except debugging and stuff proved difficult so this weekend i decided to make the pro...
Tom Dringer replied

Help with Modelling the Rails DB/ActiveRecord

0
General
I want to have a data structure as follows; Items Category contains general information on that category whether it can be taken on a flight. Items contain more specialized information on the item...
Senaru posted

how do i debug

1
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object
Arnaud replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.