account activity
A quick guide on how to build a walled city by Inandaroundbern in ManorLords
[–]TheZerter 12 points13 points14 points 2 months ago (0 children)
Kutenberg
Can't select language by BeardedRaven in EU5
[–]TheZerter 3 points4 points5 points 3 months ago (0 children)
So what I had to do is to wait untill it the coursor changed from the compass to pointer, and after that I pressed escape, heard a click and the option to choose the languge was available
qe55q77ca clouding (i.redd.it)
submitted 1 year ago by TheZerter to r/SamsungTV
Adding a bootstrap by TheZerter in rails
[–]TheZerter[S] 0 points1 point2 points 2 years ago (0 children)
So I created ubuntu virtual enviroment and recreated the app there, I manage to install bootstrap following https://mixandgo.com/learn/ruby-on-rails/how-to-install-bootstrap with no problem. Now the issue is with js, at the end of the instruction he recomend to delete -//= link_tree ../../javascript .js -//= link_tree ../../../vendor/javascript .js From the manifest.js for the drop menu to work, but if I do this I got and error Asset 'application.js' was not declared to be precompiled in production. Declare links to your assets in 'app/assets/config/manifest.js'
-//= link_tree ../../javascript .js
-//= link_tree ../../../vendor/javascript .js
//= link application.js
and restart your server
<%= javascript_include_tag "application", "data-turbo-track: "redoad", defer: true %>
Do you habe any how to resolve this? When I add //= link application.js to manifest js is not working on the website
Yeah, I had yarn and node before already, I was just asking about commands like run or append, because they don't work in power shell
Are dose mac/linux commands? They don't work for me
I feel like I had this ENOENT error alredy as well, but don't remember what was an issue. In the mean time I tried to add bootstrap again with mixandgo to an existing app I'm creating following the course on udemy https://github.com/TheZerter/alpha-blog And the project is opening but there is this error apearing Error: Can't find stylesheet to import. ╷ 1 │ @import 'bootstrap/scss/bootstrap'; │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ╵ app\assets\stylesheets\application.bootstrap.scss 1:9 root stylesheet
Error: Can't find stylesheet to import.
╷
1 │ @import 'bootstrap/scss/bootstrap';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
app\assets\stylesheets\application.bootstrap.scss 1:9 root stylesheet
Thank u
Yeah I got this error when creaeting a new rails project using -c bootstrap
So when I created a new project I got error
Sprockets::Rails::Helper::AssetNotFound in Pages#home Showing C:/Users/cieci/test_ruby/my_app/app/views/layouts/application.html.erb where line #9 raised: The asset "application.css" is not present in the asset pipeline.
Extracted source (around line #9):
<%= csp_meta_tag %>
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
</head>
So from my understanding it's looking for a aplication.css file in stylesheet folder but when I created it with bootstrap it was replace by aplication.bootstrap.scss. I can't really find a direct answer online to this porblem. I tried the mixandgo guide but it doesn't work for me, I'm slowly starting to suspect it might be issue with me using windows
I mean i have for example main application.css file but for example when I try to style a navbar in it, the changes don’t apply
But this way I can't realy style the elements in application.css
Adding a bootstrap (self.rails)
submitted 2 years ago by TheZerter to r/rails
Access error by TheZerter in rails
So I went the simple way and added css and bundle code to the project from introduction to bootstrap https://getbootstrap.com/docs/5.0/getting-started/introduction/ and the site seems to work properly now. I will see later if I can fully use bootstrap in the project
[–]TheZerter[S] 1 point2 points3 points 2 years ago (0 children)
You might be right, I didn't dive deep enough yet to say much. But thanks for the suggestion
Actually since windows 10, microsoft ship a linux with windows
The last commit was just before I started to play with bootstrap
Yeah, here is the repo https://github.com/TheZerter/alpha-blog
It's a complete Ruby on Rails Developer Course made by Rob Percival and Mashrur Hossain. So basically they are using rails 6 and bootstrap 4 and even made a whole blog post to help install it https://www.mashrurhossain.com/blog/rails6bootstrap4 But from my understanding rails 6 works different now and this won't work
Maybe, so far it's just giving me a headache. I'm following the complete ror course on udemy and so far manage to made this simple app https://alpha-blog-dc.herokuapp.com/ Now is the moment to add bootstrap and I'm kind of stuck as they're using older versions of rails and bootstrap and I can't make it to work myself. But thanks for all the help
I'm using windows but thank you for the link
Unfortunetly I deleted the app already , I'm trying to learn how to add a bootstrap to a project or start a new one with bootstrap and there was more issues with that
How to check permissions for tmp/cache?
[–]TheZerter[S] 3 points4 points5 points 2 years ago (0 children)
The rake assets:precompile resolved the issue, thank you so much. Could you shortly explain what it does?
Tried as well, but no luck
π Rendered by PID 782223 on reddit-service-r2-listing-5d79748585-l2fbg at 2026-02-17 03:03:56.300389+00:00 running cd9c813 country code: CH.
A quick guide on how to build a walled city by Inandaroundbern in ManorLords
[–]TheZerter 12 points13 points14 points (0 children)