.rvm/scripts/functions/support: line 490: 10144 Trace/BPT trap: 5 issue
When I was trying to install ruby-2.1.3 via RVM (rvm install 2.1.3), I got the following error: ruby-2.1.3 - #validate archive ruby-2.1.3 - #extract ruby-2.1.3 - #validate binary ruby-2.1.3 - #setup...
View ArticleIncorrect MySQL client library version! This gem was compiled for 5.6.21 but...
If you get the following error, you probably have to reinstall your mysql2 gem by specifying the location of your MariaDB or MySQL installation. The Error: Navid:my_project navid$ rails s...
View Articlerails server fails to start – bin/rails:6: warning: previous definition of...
If rails server fails to start for you due to APP_PATH issue below: Navid:someapp navid$ rails s => Booting WEBrick => Rails 4.1.0 application starting in development on http://0.0.0.0:3000 =>...
View ArticleUsing ActionMailer::Preview with Devise mailers in Rails 4.1
ActionMailer::Preview is pretty awesome and newly introduced in Rails 4.1+ It allows you to preview formatting of emails from within the browser without having to send emails just to be able to preview...
View ArticleMost Popular In-Demand Programming Languages of 2014
Do you wonder which programming languages are the most popular and in-demand and how they compare with Ruby? Here is a comparison of the following languages: Ruby, Python, Php, Javascript, Scala, Java,...
View ArticleIs it Rails?
Wondering whether or not a website is running on rails? Check out Is it Rails? and let us know if the result was accurate for your site.
View ArticleHow to view rendered HTML of React component inside JavaScript console
Assume you have defined a React component that has a render function and assign it to variable someReactComponent. Then you can view the rendered version of the React component inside the JavaScript...
View ArticleFree Image Placeholder Service
Once you know the dimensions of the images (photos or graphics) you’re waiting your graphic designer or other developers to produce for you, instead of waiting for them to hand the final revisions of...
View ArticleHow to initialize an Array of Hashes in Ruby
How to initialize an array of hashes. Each value of keys within the hash will initially consist of an empty array: your_hash = Hash.new {|h,k| h[k] = [] }
View Article