This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. | |
rake aborted! | |
RubyGem version error: actionpack(2.0.2 not = 1.13.6) | |
(See full trace by running task with --trace) | |
/home/hackerkiba/.gems/gems/typo-5.2.98/bin/typo:59:in `migrate': Migration failed (RailsInstaller::InstallFailed) | |
from /home/hackerkiba/.gems/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:689:in `in_directory' | |
from /home/hackerkiba/.gems/gems/typo-5.2.98/bin/typo:57:in `migrate' | |
from /home/hackerkiba/.gems/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:217:in `install_sequence' | |
from /home/hackerkiba/.gems/gems/rails-app-installer-0.2.0/lib/rails-installer.rb:192:in `install' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake db:migrate RAILS_ENV=production | |
(in /home/hackerkiba/blog.kibabase.com) | |
config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. | |
rake aborted! | |
RubyGem version error: actionpack(2.0.2 not = 1.13.6) | |
(See full trace by running task with --trace) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake db:migrate RAILS_ENV=production --trace | |
(in /home/hackerkiba/blog.kibabase.com) | |
** Invoke db:migrate (first_time) | |
** Invoke environment (first_time) | |
** Execute environment | |
config.gem: Unpacked gem coderay-0.8.260 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. | |
rake aborted! | |
RubyGem version error: actionpack(2.0.2 not = 1.13.6) | |
/home/hackerkiba/blog.kibabase.com/config/../vendor/rails/railties/lib/initializer.rb:259:in `require_frameworks' | |
/home/hackerkiba/blog.kibabase.com/config/../vendor/rails/railties/lib/initializer.rb:133:in `process' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Be sure to restart your server when you modify this file | |
# Uncomment below to force Rails into production mode when | |
# you don't control web/app server and can't set it the proper way | |
# ENV['RAILS_ENV'] ||= 'production' | |
# Specifies gem version of Rails to use when vendor/rails is not present | |
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION | |
# Bootstrap the Rails environment, frameworks, and default configuration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GameLaw < CharactersLaw | |
include CP | |
def initialize engine | |
super engine | |
@space.gravity = vec2(0,0) | |
end | |
def compute | |
super | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require"rubygems" | |
require"rubygame" | |
include Rubygame | |
class LoopThrough | |
include Rubygame::EventHandler::HasEventHandler | |
def initialize | |
@screen = Screen.new([800,600],0,[Rubygame::HWSURFACE,Rubygame::DOUBLEBUF]) | |
@q = Rubygame::EventQueue.new() | |
@q.enable_new_style_events() | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Passes the given event to the object's event handler. | |
def handle( event ) | |
@event_handler.handle( event ) | |
rescue NoMethodError | |
_make_event_handler | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sdl src/app.rb | |
/usr/local/lib/ruby/gems/1.8/gems/gamebox-0.0.3/lib/gamebox/actor_factory.rb:55:in `build': Failed to construct 'game' (DIY::ConstructionError) | |
...caused by: | |
>>> undefined method `is?' for #<Generator:0x468b8e4> from /usr/local/lib/ruby/gems/1.8/gems/gamebox-0.0.3/lib/gamebox/level.rb:29:in `create_actor' | |
from ./src/../config/../src/demo_level.rb:5:in `setup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/ruby | |
# Plot random pixels. | |
require 'rubygems' | |
require 'rubygame' | |
include Rubygame | |
Width = 640 | |
Height = 400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'eventmachine' | |
module ChatClient | |
def self.list | |
@list ||= [] | |
end | |
def post_init | |
@name = "anonymous_#{rand(99999)}" |
OlderNewer