enilsen16 / Eefgilm

A gem for organizing your Gemfile
MIT License
36 stars 9 forks source link

Gemfile syntax error #59

Open michaelachrisco opened 9 years ago

michaelachrisco commented 9 years ago

Original Gemfile:

source 'http://rubygems.org'

gem 'rails', '4.0.1'

# Use mysql as the database for Active Record
gem 'mysql2'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.0'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end

gem 'twitter-bootstrap-rails',
    git: 'https://github.com/seyhunak/twitter-bootstrap-rails.git',
    branch: 'bootstrap3'
gem 'less-rails'

group :test do
  gem 'database_cleaner'
  gem 'faker'
  gem 'rspec-rails'
  gem 'cucumber-rails', "~> 1.0", require: false
  gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git'
  gem 'headless'
  gem 'factory_girl_rails'
end

#
# Auth
#
gem 'devise'#, :git => 'git://github.com/plataformatec/devise.git'
gem 'devise_invitable'
gem 'omniauth'
gem 'cancan'

gem 'uuid'
gem 'figaro'
gem 'whenever'

gem 'unicorn'

# Deploy with Capistrano
group :development do
  gem 'capistrano', '~> 3.2.0'
  gem 'capistrano-bundler', '~> 1.1.0'
  gem 'capistrano-rails', '~> 1.1'
end

gem 'simple_form', git: 'git://github.com/plataformatec/simple_form.git'
gem 'squeel'

eefgilm

New file:

source 'https://rubygems.org'

gem 'cancan'
gem 'coffee-rails', '~> 4.0.0'
gem 'devise'
gem 'devise_invitable'
gem 'figaro'
gem 'jbuilder', '~> 1.2'
gem 'jquery-rails'
gem 'less-rails'
gem 'mysql2'
gem 'omniauth'
gem 'rails', '4.0.1'
gem 'sass-rails', '~> 4.0.0'
gem 'simple_form', git: 'git://github.com/plataformatec/simple_form.git'
gem 'squeel'
gem 'therubyracer', platforms: :ruby
gem 'turbolinks'
gem 'twitter-bootstrap-rails',
gem 'uglifier', '>= 1.3.0'
gem 'unicorn'
gem 'uuid'
gem 'whenever'

group :doc do
  gem 'sdoc', require: false
end

group :test do
  gem 'capybara', :git => 'git://github.com/jnicklas/capybara.git'
  gem 'cucumber-rails', '~> 1.0', require: false
  gem 'database_cleaner'
  gem 'factory_girl_rails'
  gem 'faker'
  gem 'headless'
  gem 'rspec-rails'
end

group :development do
  gem 'capistrano', '~> 3.2.0'
  gem 'capistrano-bundler', '~> 1.1.0'
  gem 'capistrano-rails', '~> 1.1'
end
$ bundle install
Gemfile syntax error on line 20: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '('
gem 'uglifier', '>= 1.3.0'
     ^
on line 20: syntax error, unexpected ',', expecting end-of-input
gem 'uglifier', '>= 1.3.0'
michaelachrisco commented 9 years ago

The gem did not register

gem 'twitter-bootstrap-rails',
    git: 'https://github.com/seyhunak/twitter-bootstrap-rails.git',
    branch: 'bootstrap3'

correctly. Not a huge deal on my side, but may need a fix later on.

enilsen16 commented 9 years ago

Yeah thanks we don't handle that. I'll work on a fix.

@Marco-Lindsay