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
11 views

Compile Ruby 2.2.2 on RPi ./ext/extmk.rb:247:in Errno::EACCES [closed]

For the record RVM and rbenv are not an option. And this question is Raspberry Pi specific. I'm compiling Ruby 2.2.2 from source on my Raspberry Pi and I keep running into this same error. ...
0
votes
1answer
67 views

How can I get an SPI ADC (MCP3002) on RPi2

I would be happy if you give me a advice or show me the sample code. One year before, I wrote a luminosity sensor application on my RPi model B in Ruby. Thanks to the this library I could make app ...
2
votes
1answer
56 views

Install Ruby for root [closed]

I installed ruby using rbenv but after several attempts I don't manage to make the root user see the ruby bin. I installed rbenv under /var/opt/rbenv This is the content of /etc/profile.d/rbenv.sh: ...
0
votes
1answer
120 views

ruby on rails in RPI

I want to control my RPI from my phone, so I decided that the RPI will host a site. I'm familiar with ROR and I saw that there is GPIO gem (pi piper). Should I work with ROR or learn Django and use ...
0
votes
0answers
63 views

having problems installing therubyracer and libv8 on Rails4

trying to use twitter-bootswatch-rails on Rails4 $ cat /proc/version Linux version 3.18.10+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - ...
0
votes
2answers
104 views

Installing Tracks 2.2.3 on Raspberry Pi

I want to install Tracks on my Raspberry Pi for task/time management. My Pi is running the latest Raspbian, i.e. I have updated it to the latest package versions. There is a rather cryptic guide on ...
1
vote
3answers
177 views

Is Raspberry Pi powerfull enough for commercial web development?

I'm considering buying a raspberry for everything work related, especially software development for the web, since i'm a software engineering student and web start up founder. I would like to know if ...
0
votes
0answers
71 views

Installing RVM on Arch Linux

I just tried to install RVM on my rpi with the usual command (\curl -sSL https://get.rvm.io | bash -s stable --ruby), but it fails with the following message: Searching for binary rubies, this might ...
0
votes
1answer
207 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
285 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
535 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
377 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
106 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 ...
1
vote
1answer
170 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
244 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
146 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 ...
2
votes
1answer
1k 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 ...
12
votes
2answers
13k 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
4k 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
3k 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
4k 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: ...