Rails white-labeling file

Currently, I have my white-label code in config/application.yml (this file was generated from the figaro gem). Initially, I added it here because I could use the ENV variables in the app and it seemed to work well for white-labelling purposes. appl...
more »

2017-01-16 19:01 (0) Answers

rails server does not start on windows

I'm newbie to ruby on rails, I have created project but when I start server (rails server / s ) it gives me error. which is image show you an error. secondly when I run command "bundle install" it gives me another error which is image show you secon...
more »

2017-01-16 19:01 (1) Answers

How to install the Nokogiri gem using Ruby 1.9.3

I'm using Ruby 1.9.3 with my Rails v3.2.19 application and I'm unable to run bundle because Nokogiri requires a Ruby version >= 2.1.0. At the moment I cannot upgrade my Ruby version and I really need to install Nokogiri otherwise my app won't run. B...
more »

2017-01-16 12:01 (1) Answers

As of 2017, what is the best rails pagination gem?

I'm looking to add pagination support to my rails app. Performing a basic google search shows rails pagination gems for the last 5+ years. It's impossible to know what is the best rails pagination gem for the current time period. For anyone who is c...
more »

2017-01-15 19:01 (2) Answers

Importing Wordpress Posts - Getting Load Error

I was trying to import wordpress posts to my new jekyll site using these instructions: import.jekyllrb.com/docs/wordpress But when I follow those instructions including sucessfully installing "gem install unidecode sequel mysql2 htmlentities" into /L...
more »

2017-01-15 00:01 (1) Answers

Where are Ruby gems located on a server?

My understanding is that the gemfile in a Rails app only provides references to the actual code of these gems on your local computer. So when you're running your app locally, it's pulling the gem code from your local computer. What happens when you d...
more »

2017-01-13 21:01 (2) Answers

can not load rails console

I just cloned a new repo and did bundle install and bundle update. i dont know why i am getting following error when i do bundle exec rails c. i am using rails version 5.0.1 bundler: failed to load command: rails (/Users/user123/.rbenv/versions/2.3....
more »

2017-01-13 20:01 (1) Answers

XCode doesn't recognize `pod keys`

Here's my setup Env: Mac 10.11.6 Gem 2.4.8 Gemfile: source 'https://rubygems.org' gem 'cocoapods', '~> 1.1.1' gem 'cocoapods-keys', '~> 1.7.0' gem 'fastlane' Installed Cocoapods-keys using: gem install cocoapods-keys Added Fabric Ru...
more »

2017-01-12 15:01 (1) Answers

Awestruct in Docker Container via Jenkins

I want to use awestruct inside a docker container to build my website. Everything seems to work but at the end I receive a message in Jenkins job: Jenkins Job Error When I run the docker container directly on the server (not via Jenkins job) with:doc...
more »

2017-01-12 13:01 (0) Answers

Can't install Bundler

Please don't mark this as a duplicate without telling me which question you think will help! Something has happened to my system that messed with the OpenSSL such that it can no longer connect to any of the gems. The current problem is that gem ins...
more »

2017-01-12 05:01 (1) Answers

Compilation of Sass using PrePros on Windows

I've inherited a project that uses Sass. I'm a 'NET developer so compiling CSS isn't really something ive had much exposure to. The previous developer told me (as I run on Windows and he runs on a MAC) to install prepros. The steps I have run throug...
more »

2017-01-11 13:01 (1) Answers

jekyll-docs not installing on macOS

Jekyll's document says, If you’re interested in browsing these docs on-the-go, install the jekyll-docs gem and run jekyll docs in your terminal. When I tried to install jekyll-docs on my MacBook Air running macOS Sierra, I bumped into the f...
more »

2017-01-11 10:01 (0) Answers

how to create record (host) in infoblox with ruby

Does anyone have experience with ruby infoblox gem? I am trying to create and delete records in Infoblox. I can get next available ip from infoblox, but that's about it. Cannot figure out how to create and delete hosts. Please advise, Thanks... c...
more »

2017-01-11 04:01 (1) Answers

Carrier Wave mini_magick_processing error

I am trying to upload an image in my signup form using carrierwave gem but getting this error: Avatar translation missing: en.errors.messages.mini_magick_processing_error This is my form: <%= form_for @user do |f| %> <%= f.la...
more »

2017-01-10 21:01 (0) Answers

intercom-rails gem exclude user does not work

I need to skip Admin activities. In config/initializers/intercom.rb I have: config.company.current = Proc.new { current_organizer } config.user.exclude_if = Proc.new { |user| user.class.name == 'Admin' } It logs admin activity in comp...
more »

2017-01-10 13:01 (0) Answers

Rails Paperclip upload button not working

I try to integrate Paperclip to my Web App. The problem is, that the upload button is not working. I can choose a file, enter a title etc. but when i hit on upload nothing happens. when i remove in the _form.html.erb file the <%= form_for @vide...
more »

2017-01-10 11:01 (1) Answers

Impact Analysis in Ruby on Rails

Impact analysis for a ruby on rails application. Is it possible? And is there tools which can make this achievable? I have a really big application. I want to check the impact of the changes made in application, so that am aware of the bugs which can...
more »

2017-01-10 10:01 (0) Answers

How to add a project to Github dependents graph?

I've just seen that Github has released a new feature that show a list of depends project https://github.com/blog/2300-visualize-your-project-s-community. I see that in React depends list there are already some projects and I want to add my own p...
more »

2017-01-09 18:01 (1) Answers

rails config gem issue with template rendering

I'm using rails config gem to set feature flags. Settings.yml enable_grading: <%= 'true' == ENV['ENABLE_GRADING'] %> When I try to hide/show some part of the template based on the feature flag, it responds inconsistently. <% if Settings...
more »

2017-01-09 05:01 (0) Answers

How to efficiently fork a gem

I found a useful gem (here's the link if you're curious). I installed it using sudo gem install json_resume. Now it resides on /Library/Ruby/Gems/2.0.0/gems/json_resume-1.0.4/ (Mac OS). However, I needed to change some of its elements. So far I chang...
more »

2017-01-08 23:01 (1) Answers

Rails--Build a filter on top of geocoder search

I'm currently using geocoder to filter images, On top of that, I want to add a category filter(not the dropdown select type, but each category gets displayed like a button and when I click it, its category_id get selected). So imagine a side bar th...
more »

2017-01-06 17:01 (1) Answers