Skip to content

Instantly share code, notes, and snippets.

View hecbuma's full-sized avatar

Hector Bustillos hecbuma

View GitHub Profile
@hecbuma
hecbuma / unicorn.rb
Last active December 20, 2015 13:08
unicorn config for rails
# Sample verbose configuration file for Unicorn (not Rack)#
# This configuration file documents many features of Unicorn
# that may not be needed for some applications. See
# http://unicorn.bogomips.org/examples/unicorn.conf.minimal.rb
# for a much simpler configuration file.
#
# See http://unicorn.bogomips.org/Unicorn/Configurator.html for complete
# documentation.
# Use at least one worker per core if you're on a dedicated server,
.super-link:checked {
& ~ #menu-mobile {
color: blue;
}
}
ul {
li + li:before{
content: " | ";
padding: 0 5px;
color: #666;
}
}
1.9.2@fvaults (fix-assets)$ git show e7783c0e182e622e739a76174ebfe5bb67741a42
commit e7783c0e182e622e739a76174ebfe5bb67741a42
Author: Hector Bustillos <[email protected]>
Date: Thu Oct 27 10:42:53 2011 -0500
fix assets to compile in heroku
diff --git a/config/application.rb b/config/application.rb
index 2041fb9..6069299 100644
--- a/config/application.rb
WARNING: Can't mass-assign these protected attributes: id
[paperclip] /usr/bin//identify -format %wx%h '/tmp/stream48356-0.jpg[0]' 2>/dev/null
[paperclip] An error was received while processing: #<Paperclip::CommandNotFoundError: Paperclip::CommandNotFoundError>
[paperclip] /usr/bin//identify -format %wx%h '/tmp/stream48356-0.jpg[0]' 2>/dev/null
[paperclip] An error was received while processing: #<Paperclip::CommandNotFoundError: Paperclip::CommandNotFoundError>
[paperclip] /usr/bin//identify -format %wx%h '/tmp/stream48356-0.jpg[0]' 2>/dev/null
[paperclip] An error was received while processing: #<Paperclip::CommandNotFoundError: Paperclip::CommandNotFoundError>
[paperclip] /usr/bin//identify -format %wx%h '/tmp/stream48356-0.jpg[0]' 2>/dev/null
[paperclip] An error was received while processing: #<Paperclip::CommandNotFoundError: Paperclip::CommandNotFoundError>
[paperclip] /usr/bin//identify -format %wx%h '/tmp/stream48356-0.jpg[0]' 2>/dev/null
- if current_user.hosted_blog.categories
%h2.head <em>Step 6:</em> Select a category
%p
= form.label :category
%br/
Select a category
= form.select :category, current_user.hosted_blog.categories.collect{|c| [c.title, c.id]} + [["Fantasy/Other",""]], :include_blank => true
Failing Scenarios:
cucumber features/Artist_group_creating.feature:7 # Scenario: creting a music group with correct data
cucumber features/Artist_group_creating.feature:57 # Scenario: creting a group with wrong data
cucumber features/Artist_group_creating.feature:73 # Scenario: creating a group with an already taken group id
cucumber features/Artist_group_creating.feature:85 # Scenario: Entering detailed data with no data
cucumber features/Artist_group_creating.feature:102 # Scenario: Entering bio and summay with no data
cucumber features/Artist_group_creating.feature:114 # Scenario: Entering Your sound info with no data
cucumber features/artist_roster.feature:7 # Scenario: Adding an empty group to a roster
cucumber features/artist_roster.feature:22 # Scenario: adding an artist to an managment roster
pc201166176113:fanvsfan user$ script/server
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
** daemon_controller starting memcached...
Starting sphinx
/Users/user/projects/fanvsfan/vendor/gems/FooBarWidget-daemon_controller-0.2.1/lib/daemon_controller.rb:525:in `run_command': [Wed Jul 20 14:21:21.811 2011] [15141] using config file '/Users/user/projects/fanvsfan/config/development.sphinx.conf'... (DaemonController::StartError)
[Wed Jul 20 14:21:21.814 2011] [15141] listening on 127.0.0.1:9312
[Wed Jul 20 14:21:21.814 2011] [15141] WARNING: index 'claim_core': preload: failed to open /Users/user/projects/fanvsfan/db/sphinx/development/claim_core.sph: No such file or directory; NOT SERVING
[Wed Jul 20 14:21:21.814 2011] [15141] WARNING: index 'entry_core': preload: failed to open /Users/user/projects/fanvsfan/db/sphinx/development/entry_core.sph: No such file or directory; NOT SERVING
[Wed Jul 20 14:21:21.814 2011] [15141] WARNING: index 'fantasy_core': preload: failed to open /Us
hecbuma@hecbuma-lap:~/proyectos/fanvsfan$ script/server
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:3: warning: already initialized constant CREATED_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:4: warning: already initialized constant IN_PROGRESS_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:5: warning: already initialized constant COMPLETED_DEBATES_TITLE
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:6: warning: already initialized constant CREATED_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:7: warning: already initialized constant CHALLENGED_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:8: warning: already initialized constant IN_PROGRESS_STATES
/home/hecbuma/proyectos/fanvsfan/app/models/debatable.rb:9: warning: already initialized constant COMPLETED_STATES
hecbuma@hecbuma-lap:~/proyectos/fanvsfan$ rake db:bootstrap --trace
(in /home/hecbuma/proyectos/fanvsfan)
DEPRECATION WARNING: Rake tasks in vendor/plugins/annotate_models/tasks, vendor/plugins/bootstrapper/tasks, vendor/plugins/can_flag/tasks, vendor/plugins/delayed_job/tasks, vendor/plugins/factory_girl_attachment/tasks, vendor/plugins/fitter_happier/tasks, vendor/plugins/flashplayrhelpr/tasks, vendor/plugins/high_voltage/tasks, vendor/plugins/jrails/tasks, vendor/plugins/nulldb/tasks, vendor/plugins/query_reviewer/tasks, vendor/plugins/recaptcha/tasks, vendor/plugins/redbox/tasks, vendor/plugins/simpleconfig/tasks, and vendor/plugins/sitemap_generator-plugin/tasks are deprecated. Use lib/tasks instead. (called from /home/hecbuma/.rvm/gems/ruby-1.8.7-p334@fan/gems/rails-2.3.11/lib/tasks/rails.rb:10)
** Invoke db:bootstrap (first_time)
** Invoke environment (first_time)
** Invoke gems:build (first_time)
** Execute gems:build
** Execute environment
** Execute db:bootstrap
>> Started executing bootstrap for de