Unable to install any ruby gems

I am trying to install Rails on my Mac. I keep getting a Jruby error or something of the sort: gem install rails Loading jruby-openssl in a non-JRuby interpreter Error loading RubyGems plugin "/Users/User/.rvm/gems/ruby-2.4.0@global/gems/executable-...
more »

2017-03-19 02:03 (0) Answers

Rails Asset Pipeline problems with jquery-ui

Update I downloaded the latest version of jquery 3.1 and jquery-ui from the jquery website. Unluckly this problem with the .effect() function is not connected to the asset pipeline. I had all the required js and css files included, but .effect() wou...
more »

2017-03-17 16:03 (1) Answers

Rubygem: How to load information of a yaml file

My gem generates the following file into config/my_gem.yml: test: true Now I want to load the value of test into my gems module to be able to call: MyGem.test => true That was my attempt: In the Rails App - config/initializers/my_gem.rb: ...
more »

2017-03-16 20:03 (2) Answers

can't install mysql2 using gem

I am trying to create a project with mysql as database using rails I use the following command : gem install mysql2 I get the following result in commandline : Building native extensions. This could take a while... ERROR: Error installing my...
more »

2017-03-16 07:03 (1) Answers

How to filter Twitter API mentions

I'm creating a project using the Twitter gem and need to filter the tweets that I receive from mentions_timeline. I thought about filtering through a couple of if statements reading the text of the tweet: require 'sinatra' require 'twitter' require...
more »

2017-03-15 21:03 (2) Answers

ruby on rails, rails admin fieldset behavior

I working as intern for a webapp, they are using ruby on rails v4.2 and ruby v2.0.0, and rails admin v0.6.8. There is a problem in rails admin that arrived since Friday, after a commit, do I look on github each diff in each commit, and the problem ...
more »

2017-03-15 15:03 (0) Answers

Gem install command doesn't work

I'm now using macbook terminal to study rails. I'm trying to install ruby on rails so I got homebrew and rbenv. And I entered "gem install rails" to get rails but he said "ERROR: Loading command: install (LoadError) cannot load such file ...
more »

2017-03-14 13:03 (1) Answers

Wicked gem and POST method while submitting form

from my WizardController i've defined N steps. The first one includes a form (method: put) and a file upload field (image) handled through CarrierWave. While submitting the form without changing the image, Rails triggers the PUT method while if the...
more »

2017-03-14 11:03 (0) Answers

Installing .gem and its dependencies offline

I am trying to install a plugin .gem file (logstash-output-apm-Release-APM-10.5.1-DxC-1.4-20170114.212431-8.gem), supplied by the vendor, but it failed with the error below, as I'm running the install command from a machine with NO Internet access: ...
more »

2017-03-13 03:03 (1) Answers

Set default gemset for non default ruby with RVM

I'd like to be able to set the default gemset for a non-default ruby so that rvm use ruby-2.#{not_default} is equivalent to ruby-2.#{not_default}@my_gemset. However, I cannot find a way to do this beyond setting both the default ruby and gemset. Is ...
more »

2017-03-13 00:03 (0) Answers

Can't install gems with rbenv on Windows bash

I've searched far and wide for a question, a blog, anything that can solve this particular error, but I can't find it. Basically, running bash (well, zsh) on Windows 10. I installed rbenv and ruby build through their respective git repos. I set up a...
more »

2017-03-10 17:03 (0) Answers

Rails 5 Server Issues (Windows 10)

Newbie to Ruby on Rails here, I just did a fresh install of Ruby & Rails on Windows 10 (Bash on Ubuntu shell). I seems to having issues on starting the Rails server. Already checked the other threads on the issue, but everyone else is using OSX. ...
more »

2017-03-10 06:03 (1) Answers

Heroku: rake aborted error

I cannot install a Ruby app on Heroku; here is the Heroku build log: -----> Ruby app detected -----> Compiling Ruby/Rails -----> Using Ruby version: ruby-2.2.6 -----> Installing dependencies using bundler 1.13.7 Running: bundle i...
more »

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

Redmine works on 3000 port instead of 80

I have installed Redmine(version 3.2) on ubuntu 16.04. But it works on 3000 port - http://localhost:3000 I need to run it on port 80 with a name-based virtual host in apache like - http://pms.my-domain.com Also I have installed phusion_passenger ap...
more »

2017-03-09 15:03 (0) Answers

Ubuntu 16.04: Error return on gem install bundler

I've been getting a return, ~$ gem install bundler ERROR: Loading command: install (LoadError) cannot load such file -- zlib ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass When trying t...
more »

2017-03-08 17:03 (1) Answers

Ruby tool to browse through installed gems code

I am using a gem and I have trouble figuring out how to use a specific method. Currently to understand how it works, I have to go to github, search the gem realise the code is from a dependency, search the code repo for the other gem, realise it's a...
more »

2017-03-08 11:03 (2) Answers