code stringlengths 1 1.73M | language stringclasses 1
value |
|---|---|
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use Cof... | Ruby |
# This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
# Examples:
#
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
# Mayor.create(name: 'Emanuel... | Ruby |
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
run Rails.application
| Ruby |
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all
# Add more helper methods to be used by all tests here...
end
| Ruby |
#!/usr/bin/env ruby
require 'rubygems'
require 'mqtt'
MQTT::Client.connect('localhost',1883) do |client|
client.get('#') do |topic,message|
puts "#{topic}: #{message}"
end
end
| Ruby |
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "theme/css"
sass_dir = "theme/scss"
images_dir = "images"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :co... | Ruby |
# coding: utf-8
# Title: LightPack API wrapper for Ruby
# Author: Mikhail S. Pobolovets
# License: GPL v3
# Date: 2011/08/15
# API Version: 5.5
require 'socket'
class LightPack
include Socket::Constants
# host = '127.0.0.1' # The remote host
# port = 3636 ... | Ruby |
# desc "Explaining what the task does"
task :barcode_setup do
Dir.mkdir("#{RAILS_ROOT}/public/images/barcodes", 0700)
puts "CREATED BARCODE DIR IN PUBLIC/IMAGES"
end
| Ruby |
# Install hook code here
| Ruby |
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the barcode_generator plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the barcode_gene... | Ruby |
# Include hook code here
require 'rubygems'
require 'gbarcode'
require 'config'
require 'barcode_generator'
| Ruby |
module ImageMagickWrapper
# call imagemagick library on commandline thus bypassing RMagick
# memory leak hasseles :)
def convert_to_png(src, out)
#more options : convert +antialias -density 150 eps png
system("convert #{src} #{out}")
end
end | Ruby |
DEFAULT_ENCODING = Gbarcode::BARCODE_39 | Gbarcode::BARCODE_NO_CHECKSUM
DEFAULT_FORMAT = 'png' | Ruby |
# BarcodeGenerator
# uses Gbarcode for encoding barcode data and then rmagick to generate
# images out of it for displaying in views.
# i was using clumsy file.new and file.close for eps generation, but
# Adam Feuer had published a much elegant way by using IO.pipe for doing
# same thing. (never occured to me !... | Ruby |
# desc "Explaining what the task does"
task :barcode_setup do
require "ftools"
Dir.mkdir("#{RAILS_ROOT}/public/images/barcodes", 0700)
dirc = "#{RAILS_ROOT}/public/fonts/"
Dir.mkdir( dirc , 0700 )
#opens/creates files
font_file = 'FRE3OF9X.TTF'
source = "#{RAILS_ROOT}/vendor/plugins/barcode_generator/f... | Ruby |
# Install hook code here
| Ruby |
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the barcode_generator plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the barcode_gene... | Ruby |
# Include hook code here
require 'rubygems'
gem 'rmagick'
require 'RMagick'
require 'config'
require 'barcode_generator'
| Ruby |
BARCODE_COLUMNS = 200
BARCODE_ROWS = 100
BARCODE_POINTSIZE = 72
BARCODE_COLOR = 'black'
ASTERISKIZE = true
| Ruby |
# BarcodeGenerator
# Extending <tt>ActionView::Base</tt> to support rendering themes
module ActionView
# Extending <tt>ActionView::Base</tt> to support rendering themes
class Base
def barcode id
id.upcase!
normalized_id = ASTERISKIZE ? "*#{id}*" : id
canvas = Magick::ImageLis... | Ruby |
##//////////////////////////////////////////////////////////////////////
##
## Copyright (c) 2009-2013 Denim Group, Ltd.
##
## The contents of this file are subject to the Mozilla Public License
## Version 2.0 (the "License"); you may not use this file except in
## compliance with the License. You may o... | Ruby |
include_recipe "threadfix"
| Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs and configures mysql for client or server"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.24.3"
recipe "mysql", "Includes th... | Ruby |
include Opscode::Mysql::Database
action :flush_tables_with_read_lock do
Chef::Log.info "mysql_database: flushing tables with read lock"
db.query "flush tables with read lock"
new_resource.updated_by_last_action(true)
end
action :unflush_tables do
Chef::Log.info "mysql_database: unlocking tables"
db.query "u... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: client
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Ruby |
##//////////////////////////////////////////////////////////////////////
##
## Copyright (c) 2009-2013 Denim Group, Ltd.
##
## The contents of this file are subject to the Mozilla Public License
## Version 2.0 (the "License"); you may not use this file except in
## compliance with the License. You may o... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs and configures mysql for client or server"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.24.3"
recipe "mysql", "Includes th... | Ruby |
begin
require 'mysql'
rescue LoadError
Chef::Log.warn("Missing gem 'mysql'")
end
module Opscode
module Mysql
module Database
def db
@@db ||= ::Mysql.new new_resource.host, new_resource.username, new_resource.password
end
end
end
end
| Ruby |
actions :flush_tables_with_read_lock, :unflush_tables, :create_db
attribute :host, :kind_of => String
attribute :username, :kind_of => String
attribute :password, :kind_of => String
attribute :database, :kind_of => String
attribute :exists, :default => false
| Ruby |
#
# Cookbook Name:: mysql
# Attributes:: server
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | Ruby |
#
# Cookbook Name:: openssl
# Recipe:: default
#
# Copyright 2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless ... | Ruby |
#
# Cookbook Name:: openssl
# Recipe:: default
#
# Copyright 2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless ... | Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Provides a library with a method for generating secure random passwords."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "openssl", "Empty,... | Ruby |
#
# Cookbook Name:: openssl
# Library:: secure_password
# Author:: Joshua Timberman <joshua@opscode.com>
#
# Copyright 2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Provides a library with a method for generating secure random passwords."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.0.0"
recipe "openssl", "Empty,... | Ruby |
#
# Cookbook Name:: openssl
# Library:: secure_password
# Author:: Joshua Timberman <joshua@opscode.com>
#
# Copyright 2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | Ruby |
##//////////////////////////////////////////////////////////////////////
##
## Copyright (c) 2009-2013 Denim Group, Ltd.
##
## The contents of this file are subject to the Mozilla Public License
## Version 2.0 (the "License"); you may not use this file except in
## compliance with the License. You may o... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Ruby |
#
# Cookbook Name:: mysql
# Recipe:: default
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unle... | Ruby |
##//////////////////////////////////////////////////////////////////////
##
## Copyright (c) 2009-2013 Denim Group, Ltd.
##
## The contents of this file are subject to the Mozilla Public License
## Version 2.0 (the "License"); you may not use this file except in
## compliance with the License. You may o... | Ruby |
#
# Cookbook Name:: tomcat
# Recipe:: default
#
# Copyright 2010, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless r... | Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs/Configures tomcat"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.10.4"
%w{ java }.each do |cb|
depends cb
end
%w{ debian ubuntu centos red... | Ruby |
#
# Cookbook Name:: jetty
# Attributes:: default
#
# Copyright 2010, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... | Ruby |
#
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
# Cookbook Name:: java
# Provider:: ark
#
# Copyright 2011, Bryan w. Berry
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:/... | Ruby |
#
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
# Cookbook Name:: java
# Recipe:: oracle_i386
#
# Copyright 2010-2011, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ... | Ruby |
#
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
# Cookbook Name:: java
# Recipe:: oracle
#
# Copyright 2011, Bryan w. Berry
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:... | Ruby |
#
# Author:: Seth Chisamore (<schisamo@opscode.com>)
# Cookbook Name:: java
# Recipe:: default
#
# Copyright 2008-2011, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... | Ruby |
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
# Author:: Seth Chisamore (<schisamo@opscode.com>)
# Cookbook Name:: java
# Recipe:: openjdk
#
# Copyright 2010-2011, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#... | Ruby |
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs Java runtime."
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "1.5.3"
recipe "java", "Installs Java runtime"
recipe "java::openjdk", "Insta... | Ruby |
#
# Author:: Bryan W. Berry (<bryan.berry@gmail.com>)
# Cookbook Name:: java
# Resource:: ark
#
# Copyright 2011, Bryan w. Berry
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http:/... | Ruby |
#
# Author:: Seth Chisamore (<schisamo@opscode.com>)
# Cookbook Name:: java
# Attributes:: default
#
# Copyright 2010, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# h... | Ruby |
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, ... | Ruby |
#!/usr/bin/ruby
# == Synopsis
# Get and set some svn properties on files & directories inside a given path.
#
# == Usage
# svn_props [options] path
#
# == Options
# -h, --help Displays help message
#
# --dir-props Shows directory properties
# --missing-ids Shows files wit... | Ruby |
#!/usr/bin/ruby
# == Synopsis
# Get and set some svn properties on files & directories inside a given path.
#
# == Usage
# svn_props [options] path
#
# == Options
# -h, --help Displays help message
#
# --dir-props Shows directory properties
# --missing-ids Shows files wit... | Ruby |
# Install hook code here
| Ruby |
require 'base_auth'
| Ruby |
# desc "Explaining what the task does"
# task :base_auth do
# # Task goes here
# end | Ruby |
# Uninstall hook code here
| Ruby |
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the base_auth plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the base_auth plugin.'
R... | Ruby |
# BaseAuth
module Authorization
DEFAULT_PERMISSION_DENIED_MESSAGE = 'You have no permissions to access this page.'
def self.included( base )
base.extend( ClassMethods )
base.send( :include, InstanceMethods )
end
class PermissionDenied < Exception
attr :message
def initialize( message = nil )... | Ruby |
buildPath = "bin"
Dir.mkdir(buildPath) unless Dir.exists?(buildPath)
Dir.chdir(buildPath) do
system( "cmake ../ -G \"Visual Studio 11\"" )
end | Ruby |
# This test will print a list of the starting pitchers for each of the Detroit
# Tigers games from the 2009 season.
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
pitchers = team.get_start_pitcher_appearances_by_year('2009')
count = 1
pitchers.each do ... | Ruby |
# In this test we are attempting to print out all of the appearances
# for Curtis Granderson during the 2009 MLB season.
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
# get the Detroit Tigers opening day game because we know that Granderson was
# on the Tigers o... | Ruby |
# This test will print a list of the starting pitchers for each of the Detroit
# Tigers games from the 2009 season.
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
pitchers = team.get_close_pitcher_appearances_by_year('2009')
count = 1
pitchers.each do ... | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
games = team.games_for_date('2009', '09', '15')
lineups = games[0].get_lineups
visitors = lineups[0]
home = lineups[1]
puts 'Visitors'
visitors.each do |batter|
puts batter.batter_name
end
puts
pu... | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
games = team.games_for_date('2009', '09', '15')
games[0].get_boxscore.dump_to_file
| Ruby |
# This test will print the scoreboard containing linescores for the specified date
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'scoreboard'
sb = Scoreboard.new
sb.load_for_date('2009', '09', '20')
puts 'Games played = ' + sb.games.length.to_s
sb.games.each do |game|
away_inni... | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'game'
games = Game.find_by_date('2009','09','15')
games.each do |game|
puts game.print_linescore
puts
end | Ruby |
# This test prints information and statistics for a player in a format similar
# to what you would see on the back of a baseball card
# Only the past 3 seasons of statistics are included.
# Display card data for Curtis Granderson
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'team'
te... | Ruby |
# This test will print a list of the pitchers who have started at least
# one game during the 2009 season.
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'team'
team = Team.new('det')
pitchers = team.get_starters_unique('2009')
count = 1
pitchers.each do |appearance|
puts count.to_... | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'team'
team = Team.new('det')
games = team.games_for_date('2009', '09', '15')
players = games[0].get_rosters
puts 'PLAYERS'
count = 1
players[1].players.each do |player|
puts count.to_s + ' ' + player.first + ' ' + player.last + ' ' + ... | Ruby |
# This test will print two lists. The first list will be of the leadoff hitters for each of the Detroit
# Tigers games from the 2009 season. The second list will be of the cleanup (4th) hitters for each of
# the Tigers 2009 games.
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
... | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../../lib")
require 'team'
team = Team.new('det')
games = team.games_for_date('2009', '09', '15')
games.each do |game|
puts game.print_linescore
end | Ruby |
$: << File.expand_path(File.dirname(__FILE__) + "/../lib")
require 'team'
def check_null(value)
return value unless value==nil
' '
end
puts 'Creating team object...'
team = Team.new('det')
puts 'Finding game objects...'
games = team.games_for_date('2009', '09', '15')
puts 'Reading pitchers...'
pitc... | Ruby |
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
require 'test_help'
class Test::Unit::TestCase
# Transactional fixtures accelerate your tests by wrapping each test method
# in a transaction that's rolled back on completion. This ensures that the
# test datab... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispat... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the Fast... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispat... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispat... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the Fast... | Ruby |
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
# If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
# "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispat... | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/destroy'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
require 'commands/about' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/runner'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/runner'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/generate'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/destroy'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/console'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/dbconsole'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
require 'commands/about' | Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/server'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/dbconsole'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/console'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
require 'commands/plugin'
| Ruby |
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../../config/boot'
require 'commands/process/spawner'
| Ruby |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.