Search Results for "the-asset-pipeline"
Lessons
Forum Threads
development env: is the asset pipeline expected to compile all assets or just those in demand?
2
Rails
I'm trying to understand if, in development, the asset pipeline is supposed to compile ALL assets found in manifest.js or just the ones that are requested.
I've been doing some testing and have fo...
How do I integrate the local_time gem without using the asset pipeline?
1
Gems / Libraries
How do I add the local_time gem to my project without using the asset pipeline as shown in one of the tutorial videos on building a user forum (https://gorails.com/episodes/forum-time-zones-with-lo...
Chris Oliver replied
Organizing Your Asset Pipeline in Development for Speed Discussion
12
General
The sass-rails README says not to use require/ require_tree/require_self in sass/scss files in big, bold letters. Is that warning outdated? If not, what are the potential issues here and why are th...
Lucas Repolês replied
Which is the simplest way to add ES6 to a Rails 5.1 app?
2
Rails
Hi! As of Rails 5.1.4, which is the most simple way to use ES6 in a Rails application?
Struggle with Rails 7, esbuild, and Tailwind CSS Asset Loading
3
Rails
Recently, I ran into an issue while setting up **esbuild** and **Tailwind CSS** in my Rails 7 app. Despite following all the recommended steps, my **stylesheets** and **JavaScript files** simply wo...
Florian Osterhus replied
Forum Series Part 7: Time Zones using the local_time Gem Discussion
23
General
strfti.me is the time zone website recommended in the video.foragoodstrftime.com is another one to check out.
character804 replied
Setting background image from User uploaded asset
6
CSS
Hi,
I am trying to set a user uploaded image as the background for their profile but cant seem to get it working. I'm stuck on what way to reference the image in the background css style. I'm usi...
Gerard Donnelly replied
Solved
Using the Trix Editor plus File Upload Attachments Discussion
52
General
Great vid, can this be done with the carrierwave gem?
Gabriel Ursache replied
Using Webpack in Rails with the Webpacker Gem Discussion
17
General
I wish our front end guys took 20 minutes to set up webpack on a project!
CSS Beginner Need Help
2
CSS
Hi, i am new to CSS and HTML and i have been trying to make the background of my HTML site an image, but it doesnt seem to work and the image does not appear on my HTML after i have refreshed the p...
AfjalKhan replied
How do I import a Sass library from within a "node_module" (Rails 5.1)?
11
Rails
Pretty much the question above!
I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework:
`npm install bulma --save`
Now that it is inside of `node_module...
Ryan Martin replied
Solved
Using webpacker in Rails Engines?
6
Rails
I'm making a pluggable CMS engine and want to keep the JS/CSS (preferably by writing Tailwind components) in the engine. It works great with models, controllers, routes and the asset pipeline, but ...
Angel Garcia replied
Integrating your own css doesn't work with Rails 7.1.2
1
CSS
Hello,
I use Rails 7.1.2 and Ruby 3.0.2. I wanted to include my own css. It doesn't work. The following errors occur:
Sprockets::Rails::Helper::AssetNotFound in Pages#index
The asset "custom.css" ...
Enow B. Mbi replied
Push changes to Node packages to Heroku
1
Rails
Okay, full disclosure, I upgraded to Rails 6 without fully understanding the consequences of using Actiontext and Webpacker. It's all new to me. So in my folly, I changed some of the Trix css direc...
Dan Donche replied
How To Use Importmaps With Rails Discussion
7
General
Are you using import maps yet?
Daniel Lee replied
Markdown/Emoji : how to host images?
2
Site Feedback
Hi,
I watched https://gorails.com/episodes/markdown-emoji-with-html-pipeline-gem and I'm wondering 2 things :
* Where did you find the asset_root of the emoji images?
* How do you use your own Em...
Muhammad replied
How to use Bootstrap with CSS bundling in Rails Discussion
27
General
Thanks for another great video. It's no wonder why I sometimes feel lost in the Rails ecosystem. I learned Rails using the asset pipeline, then it switched to using Webpacker which I never fully un...
Mountaindog replied
How do I install bootstrap-v4 via yarn?
4
CSS
Hey Guys,
I tried to install bootstrap4 via yarn. And I tried it like this:
1. yarn add bootstrap@4.0.0-alpha.6
2. rails webpacker:compile
3. add the line: import 'bootstrap/dist/css/bootstrap' ...
Kjell Morgenstern replied
Solved
Deploy Ubuntu 12.04 Precise Pangolin Discussion
104
General
Great tutorial!Just one thing, the Gemfile it's wrong, it's pointing to the wrong repository of each capistrano implementation. This should work:gem 'capistrano', '~> 3.0.0'gem 'capistrano-bundl...
Someone replied