Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Mobile apps with Ruby on Rails

I was wondering if their is way to make an Iphone or Android app using Ruby on Rails ? I know you can make mobile apps with HTML, CSS and Javascript using something like PhoneGap, but is their a way to do with RoR? Just curious

2 Answers

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

The phone would have to run Ruby and its own Rails server. Which they don't. Right now you can:

1) Make an app that has responsive design and works well when open using a browser on a phone

2) Create an API using Rails (and put it on a server) which communicates with an app (a separate app for phones and a separate app for the browser) that takes and sends JSON data for example.

Thank you

Carlos Carrillo
Carlos Carrillo
1,642 Points

Actually it is possible. In the company where I work we have this app for mobiles. The application is developed in sinatra.