Skip to content

Instantly share code, notes, and snippets.

View Bazai's full-sized avatar

Pavel Bubentsov Bazai

  • Evrone
  • Saint-Petersburg
  • 21:58 (UTC +03:00)
View GitHub Profile
@Bazai
Bazai / gist:1292787
Created October 17, 2011 14:55
Heroku SQLite проблема
Если при попытке запушить проект на Heroku постоянно вылетает сообщение об ошибке sqlite, а такого гема вообще не числится в Gemfile, или если он чилсится в группах test и development, стоит сделать следующие вещи:
1. Внимательно еще раз проверить Gemfile на предмет гема 'sqlite3' вне групп test и develop
2. Просмотреть Gemfile.lock в зависимостях
3. !!! Обязательно убедится, что пуш делается из ветки master и правильный Gemfile закоммичен именно в master ветку
@Bazai
Bazai / application.js
Created September 21, 2011 14:30
Rails 3.1. Если не происходит удаления с помощью метода :delete
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
//= require jquery
//= require jquery_ujs
//= require_tree .
@Bazai
Bazai / !Description
Created September 1, 2011 15:48
Настройка Spork для ускорения Ruby on Rails - RSpec - Cucumber проекта
Речь идет о Rails 3.1.0 проекте
В Gemfile добавляем все так, как написано в указанном ниже примере Gemfile
Версия Spork не менее 0.9.0.rc9
Делаем:
bundle install
Делаем все необходимые действия для установки RSpec и Cucumber