Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to develop google chrome extension with Ruby on Rails?

I'm not sure why its telling me that this question is subjective. I've looked all over the internet and cant find an answer. I know that content scripts for google chrome extensions are commonly written in javascript.

What is the link between this and Ruby? I know Rails is a web development framework for Ruby. I am just learning about all of this stuff.

like image 273
BigBoy1337 Avatar asked Jan 10 '12 20:01

BigBoy1337


1 Answers

Ruby on Rails is a framework for server-side code in the Ruby language.
Chrome extensions are written in pure Javascript.
And never the twain shall meet.

You may want to use CoffeeScript, which is a Ruby-like language which is transformed to Javascript.
(I've never tried writing Chrome extensions in it, but I assume it will work correctly)

like image 171
SLaks Avatar answered Sep 21 '22 03:09

SLaks