Skip to content

Instantly share code, notes, and snippets.

@axilaris
Created March 15, 2014 12:48
Show Gist options
  • Select an option

  • Save axilaris/9566691 to your computer and use it in GitHub Desktop.

Select an option

Save axilaris/9566691 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
#gem 'rails', '4.0.2'
#gem 'rails', git: 'https://github.com/inopinatus/rails', branch: 'hstore_arrays_fix'
#gem 'rails', '4.1.0.rc1'
gem "rails", github: "rails/rails", branch: "4-0-stable"
# Use postgresql as the database for Active Record
gem 'pg'
# 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
# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.1.2'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
gem 'rails_12factor', group: :production
ruby '2.1.0'
gem 'devise'
gem 'bootstrap-sass'
gem 'select2-rails'
gem 'jquery-ui-rails'
gem 'jquery-modal-rails'
@axilaris
Copy link
Copy Markdown
Author

if i do this

group :assets do
gem 'jquery-ui-rails'
gem 'jquery-modal-rails'
end

this error appears
undefined method `link_to_modal' for #<#Class:0x000001045af280:0x000001045ae1c8>
<%= link_to_modal "Demo Form", "#demo-form", :class=>"button" %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment