gem install rails
rails new my_app -T
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>Full Page IFrame</title> | |
<style type="text/css"> | |
html {overflow: auto;} | |
html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;} | |
iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;} | |
</style> |
... | |
-showsplash | |
org.eclipse.platform | |
--launcher.XXMaxPermSize | |
256m | |
--launcher.defaultAction | |
openFile | |
-vmargs | |
-Xms40m |
// List of mounts | |
List<Mount> mounts = [new Mount("/PATH/TO/image.tc", "/PATH/TO/MOUNT")]; | |
// Invocation of routines | |
TCAutoMounter mounter = new TCAutoMounter(mounts, args[0]); | |
mounter.mount(); | |
// OOP | |
/** | |
* Mounts automatically all defined sources to destinations. |
# JRUBY_VERSION has to be set as Shell variable. | |
if defined?(JRUBY_VERSION) | |
gem 'jdbc-sqlite3' | |
gem 'activerecord-jdbc-adapter' | |
gem 'activerecord-jdbcsqlite3-adapter' | |
gem 'jruby-openssl' | |
gem 'jruby-rack' | |
gem 'warbler' | |
else |
require 'rubygems' | |
require 'spork' | |
Spork.prefork do | |
ENV["RAILS_ENV"] ||= "cucumber" | |
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') | |
require 'cucumber' | |
require 'cucumber/rails' | |
require 'cucumber/formatter/unicode' # Comment out this line if you don't want Cucumber Unicode support |
require 'rubygems' | |
require 'spork' | |
Spork.prefork do | |
# Sets up the Rails environment for Cucumber | |
ENV["RAILS_ENV"] ||= "cucumber" | |
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') | |
require 'webrat' |
de: | |
errors: | |
messages: | |
not_found: "nicht gefunden" | |
already_confirmed: "wurde bereits bestätigt" | |
not_locked: "ist nicht gesperrt" | |
devise: | |
failure: | |
unauthenticated: 'Sie müssen sich anmelden oder registrieren, bevor Sie weiterfahren können.' |
config.to_prepare do | |
Devise::SessionsController.layout "signed_out" | |
Devise::RegistrationsController.layout proc { |controller| user_signed_in? ? "application" : "signed_out" } | |
Devise::ConfirmationsController.layout "signed_out" | |
Devise::UnlocksController.layout "signed_out" | |
Devise::PasswordsController.layout "signed_out" | |
end |
RSpec.configure do |config| | |
# snip | |
config.include Haml, :type => :helper | |
config.include Haml::Helpers, :type => :helper | |
config.before(:each, :type => :helper) do |config| | |
init_haml_helpers | |
end | |
# snip |