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

learn more… | top users | synonyms

0
votes
0answers
33 views

Using PiPiper to control Energenie's Pi-mote

I've just acquired myself a Pi-mote from Energenie. I'm trying to replicate the code from their website using Ruby and the pi_piper gem, but I've run in to problems. For some reason, my turn_1_on ...
0
votes
0answers
59 views

I have a Raspberry PI, loaded Debian, loaded mysql, loaded RVM, trying to run Bundle install --without production

Originally when I try to run "ruby server" I get this: i@ruby-pi-chas1 ~/projects/sample $ ruby server ruby: No such file or directory -- server (LoadError) When I run the bundle install the system ...
0
votes
2answers
53 views

Is the RPi enough to host a web application with pictures and videos?

I just got a RPi as a gift and I was thinking of hosting a personal website with pictures/videos. I want to use my internet connection at home to allow access to my website creating a personal server. ...
0
votes
1answer
100 views

bash can't find Rails in GUI

I am trying to get Ruby on Rails set up on my laptop. I ran through the guide here: http://elinux.org/RPi_Ruby_on_Rails Everything seemed fine, but when I went to run a Rails server while using ...
0
votes
1answer
57 views

Building ruby on a Raspberry “mini distro”

I installed this little disk image on a 1GB SD card. I would like to run ruby within this system, which is not installed yet. I decided to use rbenv instead of RVM (I have my reasons). My ...
0
votes
0answers
46 views

led blinking when gpio state out

I connect LED+resistor to P1_01 and P1_03. Why after this code LED is blinking? require 'pi_piper' include PiPiper pin = Pin.new(:pin => 2, :direction => :out) but I don't even have execute ...
1
vote
1answer
81 views

Problem installing Ruby on Rails server on Raspberry Pi [closed]

I tried using a Type A RP as a Rails server. Rails installs alright, but bundle install never manages to finish. I think it is due to too low RAM (256 on A model). Does anyone have experience running ...
1
vote
0answers
145 views

lxterminal login shell

Hi I'm trying to run rvm on my raspberry pi but keep getting the error rvm is not a function when I use the command in LXTerminal: rvm use 2.0.0 It gives an error saying I should use a login shell. ...
1
vote
0answers
101 views

SSH into Raspberry Pi via Rails App

Hi — I'm trying to SSH into my Raspberry Pi via a rails application. I want to create a web app where you can select and change the image that appears on your screen. I've been using the NET-SSH gem ...
0
votes
0answers
200 views

Discourse on a raspberry pi

I'm trying to install on my raspberry pi using the installation instruction for ubuntu: Install Discourse on Ubuntu. It went quite well until bundle install --deployment and now I'm having a hard ...
2
votes
1answer
620 views

How to install pre-compiled Ruby 2.0 on Raspbian?

I am usually recommend to people who want to install Ruby to use something like RVM or rbenv (my preference). However, I'm in the process of installing Ruby from source (using rbenv) and it has taken ...
9
votes
2answers
10k views

Setting up a Ruby on Rails Server

I am thinking of buying a raspberry pi, because I want to host a personal website. I am using a UK Internet provider (Virgin Media), and I want to use my internet connection to allow access to my ...
7
votes
4answers
2k views

How can I protect software on the Pi for commercial use?

I would like to use the Raspberry Pi in a commercial product, but I would like to prevent reverse-engineering of the software on the device. The software in question would be written in Ruby. I assume ...
1
vote
2answers
2k views

chromedriver and selenium-webdriver -> unable to connect to chromedriver http://127.0.0.1:9515

I wnat to run a ruby code with the selenium-webdriver on my raspberry pi. I've installed chromium-browser via apt-get. Ruby and selenium-webdriver are also installed. I've created a symlink for the ...
3
votes
1answer
2k views

ruby and selenium-webdriver -> Address family not supported by protocol - socket(2) (Errno::EAFNOSUPPORT)

I want to run a ruby script on my Raspberry Pi. I've installed ruby via rvm. I'm sure, i'm using the right version: $ rvm current ruby-1.9.3-p194 when i run my script, then i get following: ...