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
/home/daudi/projectspace/swalapala/app/models/cups_device.rb:101: [BUG] Segmentation fault at 0x0000000a491862 | |
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0026 p:---- s:0103 e:000102 CFUNC :device_uri_for | |
c:0025 p:0015 s:0099 e:000098 METHOD /home/daudi/projectspace/swalapala/app/models/cups_device.rb:101 | |
c:0024 p:0015 s:0095 e:000094 EVAL (irb):3 [FINISH] | |
c:0023 p:---- s:0093 e:000092 CFUNC :eval | |
c:0022 p:0024 s:0086 e:000085 METHOD /home/daudi/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/workspace.rb:86 | |
c:0021 p:0025 s:0079 e:000077 METHOD /home/daudi/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/context.rb:379 |
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
Each time is showing up re a different gem: | |
Example 1: | |
================================================================================ | |
-----> Deleting 2 files matching .slugignore patterns. | |
-----> Ruby app detected | |
-----> Compiling Ruby/Rails | |
-----> Using Ruby version: ruby-2.0.0 | |
-----> Installing dependencies using 1.5.2 | |
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment | |
Fetching gem metadata from http://rubygems.org/....... |
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
## token_authentication | |
# at the head of of controllers which will need token authentication instead of password/session authentication: | |
skip_before_action :authenticate_tenant! | |
before_action :authenticate_by_token! | |
# then in application_controller.rb: | |
def authenticate_by_token! |
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
git pull origin | |
The authenticity of host 'github.com (204.232.175.90)' can't be established. | |
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. | |
Are you sure you want to continue connecting (yes/no)? yes | |
Warning: Permanently added 'github.com,204.232.175.90' (RSA) to the list of known hosts. | |
Permission denied (publickey). | |
fatal: The remote end hung up unexpectedly | |
consulted github help page re this error: https://help.github.com/articles/error-permission-denied-publickey |
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
$ git push staging newdev:master --force | |
Counting objects: 128, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (88/88), done. | |
Writing objects: 100% (88/88), 13.25 KiB, done. | |
Total 88 (delta 72), reused 0 (delta 0) | |
-----> Heroku receiving push | |
-----> Ruby/Rails app detected | |
-----> Using Ruby version: ruby-1.9.3 |
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
$ vim Gemfile | |
$ bundle install | |
Using rake (0.9.2.2) | |
Using i18n (0.6.0) | |
Using multi_json (1.1.0) | |
Using activesupport (3.2.1) | |
Using builder (3.0.0) | |
Using activemodel (3.2.1) | |
Using erubis (2.7.0) | |
Using journey (1.0.3) |
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
$ rails generate refinery:engine store name:string description:text keywords:string | |
create vendor/engines/stores/Gemfile | |
create vendor/engines/stores/Guardfile | |
create vendor/engines/stores/Rakefile | |
create vendor/engines/stores/app/controllers/refinery/stores/admin/stores_controller.rb | |
create vendor/engines/stores/app/controllers/refinery/stores/stores_controller.rb | |
create vendor/engines/stores/app/models/refinery/stores/store.rb | |
create vendor/engines/stores/app/views/refinery/stores/admin/stores/_actions.html.erb | |
create vendor/engines/stores/app/views/refinery/stores/admin/stores/_form.html.erb | |
create vendor/engines/stores/app/views/refinery/stores/admin/stores/_stores.html.erb |
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
~/projectspace$ rails new ref200 -m http://www.refinerycms.com/t/edge | |
create | |
create README.rdoc | |
create Rakefile | |
create config.ru | |
create .gitignore | |
create Gemfile | |
create app | |
create app/assets/images/rails.png | |
create app/assets/javascripts/application.js |