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
1answer
59 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
34 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
28 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
52 views

Problem installing Ruby on Rails server on Raspberry Pi

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
103 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
88 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
185 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
509 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 ...
7
votes
2answers
9k 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 ...
6
votes
4answers
1k 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: ...