whiteboard-gem / whiteboard

The intellectually satisfying way to start new Rails apps.
MIT License
12 stars 0 forks source link

Specify Gemfile in plain text #3

Open nbashaw opened 10 years ago

nbashaw commented 10 years ago

@jmondo mentioned this in an email to me. The idea is to ditch gems ['foo', 'bar'] for something a bit more literal, like this:

app.gemfile = <<GEMFILE
gem 'delayed_job', '~> 4.0.1'
gem 'delayed_job_active_record', '~> 4.0.1'
gem 'devise', '~> 2.1.2'
GEMFILE

and then you would add the source and ruby versions if not found in the string then of course when you run writeboard, copy this file to ./Gemfile

jmondo commented 10 years ago

:thumbsup:

nbashaw commented 10 years ago

@jmondo I'm digging through your email and extracting all the awesome ideas into issues :) thanks so much for the feedback. super useful.

lemme know if you want to contribute!

zackshapiro commented 10 years ago

:+1:

jmondo commented 10 years ago

@nbashaw I may just do that! (contribute) but I have a bunch of stuff I'm juggling for now, so it might be a couple weeks.