Editor in ruby on rails framework

85 views
Skip to first unread message

Puneet Agarwal

unread,
Feb 5, 2015, 2:28:02 PM2/5/15
to rubyonra...@googlegroups.com
I am using Ruby on rails framework in website. I want to embed editor in website where I can write c++ ,python,c code etc. Please suggest any gem or editor which I can embed in my website. I have explore some like "Code Mirror" But i am in need of code editor like "Sublime Text". Is there any api or gem by which I can have editor like sublime text.


Thanks. 

Colin Law

unread,
Feb 5, 2015, 2:52:14 PM2/5/15
to rubyonra...@googlegroups.com
On 5 February 2015 at 19:28, Puneet Agarwal
Are you hoping to edit a file on the PC running the browser? If not
then where is the file to be edited?

Colin

Puneet Agarwal

unread,
Feb 6, 2015, 12:44:16 AM2/6/15
to rubyonra...@googlegroups.com
I want that user can write code on the browser and can save it to the server, like hackerearth , hackerrank are some of the websites which have editors embedded in their browser.

Thanks.


--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/K1I-IcruFK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLua_twZE%2B%2BcL7Gf3zT5SJLb-ez5aorZNyg7JCK%2BC_x_0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Robby O'Connor

unread,
Feb 6, 2015, 1:28:43 AM2/6/15
to rubyonra...@googlegroups.com, Puneet Agarwal
Wouldn't node be a better candidate? You want real time no?
On 02/06/2015 12:43 AM, Puneet Agarwal wrote:
> I want that user can write code on the browser and can save it to the
> server, like hackerearth , hackerrank are some of the websites which
> have editors embedded in their browser.
>
> Thanks.
>
> On Fri, Feb 6, 2015 at 1:21 AM, Colin Law <cla...@gmail.com
> <mailto:cla...@gmail.com>> wrote:
>
> On 5 February 2015 at 19:28, Puneet Agarwal
> <puneet.241...@gmail.com
> <mailto:puneet.241...@gmail.com>> wrote:
> > I am using Ruby on rails framework in website. I want to embed
> editor in
> > website where I can write c++ ,python,c code etc. Please suggest
> any gem or
> > editor which I can embed in my website. I have explore some like
> "Code
> > Mirror" But i am in need of code editor like "Sublime Text". Is
> there any
> > api or gem by which I can have editor like sublime text.
>
> Are you hoping to edit a file on the PC running the browser? If not
> then where is the file to be edited?
>
> Colin
>
> --
> You received this message because you are subscribed to a topic in
> the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/rubyonrails-talk/K1I-IcruFK8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email
> to rubyonrails-ta...@googlegroups.com
> <mailto:rubyonrails-talk%2Bunsu...@googlegroups.com>.
> To post to this group, send email to
> rubyonra...@googlegroups.com
> <mailto:rubyonra...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rubyonrails-ta...@googlegroups.com
> <mailto:rubyonrails-ta...@googlegroups.com>.
> To post to this group, send email to rubyonra...@googlegroups.com
> <mailto:rubyonra...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CALYREiefa-gYWNODELDr7UnnRDs7E_0tCTymJifXBaY3GjgZfw%40mail.gmail.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/CALYREiefa-gYWNODELDr7UnnRDs7E_0tCTymJifXBaY3GjgZfw%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Bala Paranj

unread,
Feb 6, 2015, 3:46:12 AM2/6/15
to rubyonra...@googlegroups.com
I don't think it is as simple as using a gem. I am using https://github.com/grounds/grounds.io to run http://www.rubyplus.biz  check it out!

Rakesh PD

unread,
Feb 6, 2015, 3:47:59 AM2/6/15
to rubyonra...@googlegroups.com
VIM is an Extreme customizable editor, Perform over your dreams.

Puneet Agarwal

unread,
Feb 6, 2015, 3:57:02 AM2/6/15
to rubyonra...@googlegroups.com
I want editor like this only. Is integration difficuilt ?? And is compiler for different languages embedded with editor only??

Thank you very much. This will solve my problem.

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/K1I-IcruFK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5696aa63-760f-40ad-a097-55d567a6475a%40googlegroups.com.

Puneet Agarwal

unread,
Feb 6, 2015, 8:18:38 AM2/6/15
to rubyonra...@googlegroups.com
Rakesh,

I know VIM is best editor but for technical people and my website is for end user so I cannot have VIM tool embedded in my website.

Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/K1I-IcruFK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.

Bala Paranj

unread,
Feb 6, 2015, 1:38:09 PM2/6/15
to rubyonra...@googlegroups.com
I run this Rails app on a separate domain. You can get a $5/month instance on digital ocean and host grounds.io on your own domain. I cloned it and customized the look and feel for my needs. It uses Docker to execute code in a separate environment so your Rails app is isolated. I am in the process of documenting the steps to get it running on my blog. Meanwhile, if you are eager to get started you can read this thread: https://github.com/grounds/grounds.io/issues/108#issuecomment-73281000

Bala Paranj

unread,
Feb 8, 2015, 12:46:25 PM2/8/15
to rubyonra...@googlegroups.com
How to build codeschool.com clone and get rich quick! Check out the blog post: 

How to build codeschool.com clone and make $35 million in 4 years!



On Thursday, February 5, 2015 at 11:28:02 AM UTC-8, Puneet Agarwal wrote:
Reply all
Reply to author
Forward
0 new messages