Skip to main content

Questions tagged [ruby]

Ruby is a dynamic, general-purpose high-level programming language, with an object-oriented style. There are many implementations of Ruby, including Ruby-on-Rails, a web app framework using Ruby.

2 votes
1 answer
143 views

I am using Ruby to drive output GPIO pins using the old SYSFS pseudo-filesystem interface, and am regularly encountering intermittent Errno::EACCES: Permission denied @ rb_sysopen errors. My user is a ...
Dan's user avatar
  • 125
0 votes
2 answers
547 views

I am building a monitor to measure how much water is in a tank. I started using 12" Standard eTape Liquid Level Sensor with Plastic Casing connected to mcp3008 and it's not working great, well ...
Phil's user avatar
  • 119
1 vote
1 answer
274 views

I am running ruby 3.0.3 on Raspbian 11 on raspberry pi 4b and I am trying to use adc mcp3008 using pi_piper gem and whenever I initialize a pin clock = PiPiper::Pin.new :pin => 18, :direction => ...
Phil's user avatar
  • 119
2 votes
3 answers
501 views

I'm trying to install Ruby version 2.7.x or 3.0.x using rvm on a Pi 4. The make process fails compiling the file coroutine/arm64/Context.S assembling coroutine/arm64/Context.S coroutine/arm64/Context....
Steffen Roller's user avatar
0 votes
0 answers
720 views

I have a raspberry pi which has the latest raspbian os. If I install ruby in it using sudo apt-get install ruby-full, ruby 2.5 version is installed. I have another raspberry pi which is running the ...
S Andrew's user avatar
  • 490
0 votes
1 answer
188 views

I've spent most of the day trying to launch two commands after login of the GUI on Raspberry OS. I am trying to run a Ruby on Rails server after logging into the GUI (not on boot). The commands I ...
Oliver Trampleasure's user avatar
1 vote
0 answers
131 views

I have made quite a lot of games in Ruby2D. I can play them on my PC, laptop. Ruby2D is a lot of fun and works very fast! But for some strange reason I can't get Ruby2D window working on a Raspberry ...
15 Volts's user avatar
  • 147
0 votes
0 answers
179 views

I´ve been trying to install rbenv, ruby and rails in my Raspberry Pi 3 B+ in the past couple of days and after some issues here and there I've managed to get everything installed with no errors With ...
Sócrates Medina's user avatar
0 votes
1 answer
583 views

After trying to install this script using these commands: $ git clone git://github.com/mislav/dotfiles.git ~/dotfiles $ ~/dotfiles/script/bootstrap I restarted my Raspberry Pi and I'm seeing these ...
Bangladesh 71's user avatar
-1 votes
1 answer
470 views

I'm using the Pi to control some decorative lights. I turn the lights on and off via cron scripts and would like to get status on the lights as well. When I run the code below, it reports 'on' if ...
Leonard's user avatar
  • 99
1 vote
0 answers
301 views

I am using a Raspberry Pi B 2 running Rasbian. It came with Ruby preinstalled on the card. I would like to install the ruby gem Gosu, but even with the internet working it still won't download and ...
Mooshroom14's user avatar
0 votes
1 answer
109 views

I am a teacher and have had a lot of fun learning how to code solutions to the problems I have. This is a fun project idea - I want to be able to insert little videos or gifs into class at a keystroke....
mrjohnsonsci's user avatar
1 vote
1 answer
138 views

Identical requests and headers to same server from two different platforms get as response two diferent encodings: From Win7 PC I get UTF-8 which is what I want. From Raspberry pi I get ASCII-8bit. ...
Antoni C's user avatar
1 vote
1 answer
216 views

I installed rvm and Ruby 1.9.3p194 on a Raspberry Pi using Debian Linux. When I installed pry using gem install pry, everything installed perfectly but typing pry in a terminal didn't work: pi@...
Liam Giannini's user avatar
0 votes
1 answer
313 views

I get this error - RuntimeError: eventmachine not initialized: evma_connect_to_server RPi3 with gmediarender-resurrect Using this library and following the basic instructions irb(main):001:0> ...
arjun's user avatar
  • 141

15 30 50 per page