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.

learn more… | top users | synonyms

2
votes
1answer
161 views

How to install Ruby >= 2.1.9?

I tried sudo apt-get install ruby but it will install Ruby 2.1.5. How could I install version >= 2.1.9 ?
0
votes
0answers
31 views

Looking for soulation : DS18B20 reading by Sinatra or any ruby frameworks

Thank you for click into this post, it's very hard to find some Ruby guy in RPi world. But if you are Python coder, your advise would still be very appreciate! I'm new to RPi and also new to coding. ...
5
votes
4answers
94 views

Sonic Pi, defining my own classes

Just a bit of background information, I'm a Ruby developer, and familiar with Object Orientated techniques. I've also got a history of playing with code and music, a long-running hobby. I'm getting ...
2
votes
0answers
131 views

Watch for GPIO button while running a timer

I've built to build a timer that shows the content in a 16x2 LCD. So far so good. Now, what I want to achieve is that when I push a button, pause the timer. I'm using ruby, with the library rpi_gpio ...
0
votes
1answer
323 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
139 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: ...
1
vote
2answers
580 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 ...
1
vote
1answer
312 views

Having problems installing therubyracer and libv8 on Rails4

I'm 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
227 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
233 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
1answer
293 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 ...
1
vote
0answers
445 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
1k 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
613 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 ...
1
vote
1answer
134 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
226 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 ...
2
votes
1answer
333 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. ...
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 ...
13
votes
2answers
16k 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 ...
12
votes
5answers
7k 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
4k 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
5k 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: ./test....