rails_apps: Rails starter app template (Twitter Bootstrap + Devise and more)

This is a cool Rails starter application template. You can create a good application with Devise + Bootstrap + Rspec etc.,

https://github.com/RailsApps/rails-composer/

I had to download the composer.rb and make 2 adjusts to get it working with JRuby 1.7

#1. To fix OpenSSL::SSL::SSLError: certificate verify failed. Ran the following command before rails new …

export SSL_CERT_DIR=/etc/ssl/certs

#2 The default template is not tested with JRuby. Had to install jdbc-mysql and switch mysql2 with jdbc-mysql gem in composer.rb.

And the end result is,

Image

Login using : user@example.com/please

There are other quirks like ignoring setting up a local RVM etc., If you are use to Jruby you would know what to choose in each of the template options.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s