When starting Rails server facing the error This issue started after executing the command “bundle update –bundler” The following fix will resolve the issue. Update bundler by executing the command ‘bundle update’ Now you can start the rails application. Everything should be smooth now. Happy coding
Category: Programming
How to get User Agent details in PHP Laravel 10
In Laravel development, I came across the situation to get the client’s browser or user agent details in server side. Here I am going to share how I have solved it. Solution: First we have to import the necessary library. To import library run the following command from the project’s root folder. This will add […]
How to focus the cursor to end of the strings in flutter
In Flutter development, I came across the situation where we need to move the cursor focus to the end of the previously assigned text. The focus should be triggered during the initial load of the widget. Solution: To achieve the result I need to understand these simple piece of the code. First I am loading […]
About Flutter
Introduction Flutter is a powerful framework which uses dart programming language, It eases your mobile application development. You can create high quality cross platform applications using flutter frameworks. That means you can create the applications for different platforms such as Android, iOS, Mac, iPad using single codebase in flutter. Flutter is an open source application […]
PostgreSQL – libpq.5.dylib LoadError
Here is the error details we resolved. PostgreSQL libpq.5.dylib LoadError The above issue when starting the rails application, Solution: If you are recently upgraded the PostgreSql 14.5, that affected gem installed in the application. To resolve the issue you have to uninstall the Gem ‘pg’ and reinstall it again. Command to execute: orMention the gem […]
What if the WP_REST actions not working after deployed to different server?
WordPress have a important feature called WP_REST to create customised api actions In some cases these actions won’t work properly when you switch the code to different server. It will simply through 404 error code. Solution 1: Check your apache server config file for mod_rewrite module is enabled or not. Also refer. how to check […]
Create Simple Android App using Ionic + Angular and Cordova
We are going to learn how to create simple Android App using Ionic + Angular and Cordova. Ionic Installation Install Ionic CLI globally using below command. Create new ionic app Framework: Choose the Angular in the framework selection using up and down keys. Starter template: Choose the Starter template using up and down keys.(e.g: tabs, […]