This file contains hidden or 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
ERROR: Error installing rspec-rails: | |
activemodel requires activesupport (= 3.0.4, runtime) | |
C:\Users\Knyazhna\Work\TreasureHunt>gem install rails | |
Successfully installed activesupport-3.0.4 | |
Successfully installed activemodel-3.0.4 | |
Successfully installed actionpack-3.0.4 | |
Successfully installed activerecord-3.0.4 | |
Successfully installed activeresource-3.0.4 | |
Successfully installed actionmailer-3.0.4 |
This file contains hidden or 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 spec | |
(in /Users/sarah/src/rails3_jruby/roster) | |
JRuby limited openssl loaded. http://jruby.org/openssl | |
gem install jruby-openssl for full support. | |
/Users/sarah/.rvm/rubies/jruby-1.5.2/bin/jruby -S bundle exec rspec "./spec/models/person_spec.rb" | |
JRuby limited openssl loaded. http://jruby.org/openssl | |
gem install jruby-openssl for full support. | |
JRuby limited openssl loaded. http://jruby.org/openssl | |
gem install jruby-openssl for full support. | |
...FF |
This file contains hidden or 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
$ rvm install jruby | |
jruby-1.5.2 - #fetching | |
jruby-1.5.2 - #downloading jruby-bin-1.5.2, this may take a while depending on your connection... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 11.0M 100 11.0M 0 0 147k 0 0:01:16 0:01:16 --:--:-- 137k | |
jruby-1.5.2 - #extracting jruby-bin-1.5.2 to /Users/sarah/.rvm/src/jruby-1.5.2 | |
jruby-1.5.2 - #extracted to /Users/sarah/.rvm/src/jruby-1.5.2 | |
Building Nailgun | |
jruby-1.5.2 - #installing to /Users/sarah/.rvm/rubies/jruby-1.5.2 |
This file contains hidden or 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
# SHOW search_path; | |
search_path | |
---------------- | |
"$user",public | |
(1 row) |
This file contains hidden or 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
PGError: ERROR: function ts_rank_cd(text, tsquery) does not exist | |
LINE 1: SELECT phrases.*, ts_rank_cd(phrases.vectors,tsearch_query) ... |
This file contains hidden or 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
generate("cucumber") | |
run("rm -rf features") | |
git(:clone => "http://github.com/ultrasaurus/workshop-features.git") | |
run("mv workshop-features features") | |
inside("features") { run("rm -rf .git") } | |
run("echo log/ > .gitignore; echo 'db/*.sqlite3' >> .gitignore;") | |
inside("config") { run('echo "default: --format pretty" > cucumber.yml') } | |
rake("db:migrate") | |
This file contains hidden or 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
>> h = { :ideas => [{ :title => "Some Title", :author => "john Smith"}, {:title => "Whatever", :author => "Sally Snow"}]} | |
=> {:ideas=>[{:author=>"john Smith", :title=>"Some Title"}, {:author=>"Sally Snow", :title=>"Whatever"}]} | |
>> h.to_xml | |
NoMethodError: undefined method `to_xml' for #<Hash:0x5995fc> | |
from (irb):31 | |
>> h.to_json | |
NoMethodError: undefined method `to_json' for #<Hash:0x5995fc> | |
from (irb):32 |
NewerOlder