search for: treetop

Displaying 20 results from an estimated 65 matches for "treetop".

2009 Oct 19
2
Treetop or like grammar for Markdown (in Ruby)
Has anyone seen any attempts to give Markdown a PEG (parsing expressions grammar) recognizable by some ruby PEG parser generator grammar like Treetop? http://treetop.rubyforge.org/
2009 Nov 18
1
undefined method `register' for Polyglot:Module
Getting this error. I have the treetop, polyglot, and rspec libraries in the load_path (not installed as a gem). Any ideas? What defines the register method? /home/jvandyk/dev/web/wpn_rails/../../rcommon/lib/test/treetop/lib/treetop.rb:16: undefined method `register'' for Polyglot:Module (NoMethodError) from /home/jvandyk/de...
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single feature. In particular, the cucumber Textmate bundle was not working so I traced it back and discovered that I could not run single files or features from the command line either. My setup has the following line in cucumber.yml default: -r features/support/env.rb -r features/support/plain.rb -r features/steps
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2008 Aug 20
9
I want RSpec for CSS layout.
I don''t even know how it''d be possible (through Selenium?), but I want it. I want to see if my stupid CSS hacks break. I want to say: describe "#nav-column" do body = something("#body-column") it "should line up at the top" do dom[:top].should_be == body.dom[:top] end it "should always be to the right" do
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
...id nil value for @cert_chain Fetching: erubis-2.6.6.gem (100%) Fetching: actionpack-3.0.1.gem (100%) Fetching: arel-1.0.1.gem (100%) Fetching: activerecord-3.0.1.gem (100%) Fetching: activeresource-3.0.1.gem (100%) Fetching: mime-types-1.17.2.gem (100%) Fetching: polyglot-0.3.2.gem (100%) Fetching: treetop-1.4.10.gem (100%) Fetching: mail-2.2.19.gem (100%) Fetching: actionmailer-3.0.1.gem (100%) Fetching: thor-0.14.6.gem (100%) Fetching: railties-3.0.1.gem (100%) Fetching: bundler-1.0.21.gem (100%) Fetching: rails-3.0.1.gem (100%) Successfully installed activesupport-3.0.1 Successfully installed buil...
2009 Jun 07
1
Close to a 4.2 release; experimenting with Ragel alternatives
...mix in extensions. ?Right now > RedCloth is a black box and you have to pre- or post-parse for extra > patterns, like wiki links. ?I want people to be able to use it how they > want. ?If that means mixing in their own cruddy patterns, awesome. > A PEG might be the way to go. ?Looking at Treetop, which is nice, decently > maintained, has some history, and is used by Cucumber. ?Doesn''t let me > manipulate the parser''s acceptance of expressions in code, though. ?It''s a > known problem, which is why you don''t see any yaml parsers in treetop yet &gt...
2013 Jun 05
3
dashboard/passenger not connecting on port 8140
...GEMS *** activesupport (3.2.9) arel (3.0.2) builder (3.1.4) bundler (1.2.3) daemon_controller (1.1.0) erubis (2.7.0) i18n (0.6.1) json (1.7.5) multi_json (1.5.0) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-mount (0.8.3) rack-test (0.6.2) rake (10.0.2) rubygems-update (1.8.24) thor (0.16.0) treetop (1.4.12) tzinfo (0.3.35) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to...
2008 Dec 12
8
cucumber features HTML output bug with more than 100 steps
I''m having the following problem: With the format as html, the output of cucumber stops coloring successful steps green after step #100. This last line in the HTML is: <script type="text/javascript">stepPassed(100)</script> Steps 101 -n are colored grey. The <body> tag is not closed but all steps are displayed. When running with ''format
2011 Apr 30
1
Could not autoload inventory_active_record: uninitialized constant ActiveRecord
...ce (3.0.7, 2.2.3) activesupport (3.0.7, 2.3.5, 2.2.3) arel (2.0.9) builder (2.1.2) bundler (1.0.12) erubis (2.6.6) i18n (0.5.0) mail (2.2.19) mime-types (1.16) mysql (2.8.1) polyglot (0.3.1) rack (1.2.2) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.7) railties (3.0.7) rake (0.8.7) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.27) Installed ruby packages: ruby-1.8.6.383-6.el5.kb ruby-enterprise-debuginfo-1.8.7-1 rubygems-1.3.1-1.el5 ruby-devel-1.8.6.383-6.el5.kb ruby-shadow-1.4.1-7.el5 libselinux-ruby-1.33.4-5.5.el5 rubygem-rake-0.8.7-2.el5 ruby-ri-1.8.6.383-6.el5.kb ruby-libs-1.8.6.383-6.el5.kb rub...
2012 Jul 31
1
puppet doc questions
...ailties (3.0.15) rake (0.9.2.2) rdoc (3.12) rdoc-data (3.12) rest-client (1.6.7) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) rspec-puppet (0.1.3) ruby2ruby (1.3.1) ruby_parser (2.3.1) safemode (1.0.1) scoped_search (2.3.7) sexp_processor (3.2.0) thor (0.14.6) treetop (1.4.10) tzinfo (0.3.33) uuidtools (2.1.3, 2.1.2) will_paginate (3.0.3) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/w8-dWeL-oHAJ. To post to thi...
2011 May 10
7
Webrick script/server file does not exist
...il (2.2.15) mime-types (1.16) open4 (1.0.1) pg (0.10.1) Platform (0.4.0) polyglot (0.3.1) POpen4 (0.1.4) rack (1.2.2) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.6) railties (3.0.6) rake (0.8.7) rb-readline (0.4.0) rubyzip2 (2.0.1) sqlite3 (1.3.3 x86-mingw32) sqlite3-ruby (1.3.3) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.26) win32-open3 (0.3.2 x86-mingw32) Thank you in advance. Maria -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.g...
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2009 Jul 20
9
rake error
...0.8.1.2.0) RedCloth (4.2.2) relevance-rcov (0.8.3.4) rmagick (2.10.0) rspec (1.2.7) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby_parser (2.0.3) rubyforge (1.0.3) searchlogic (2.1.2) sexp_processor (3.0.2) term-ansicolor (1.0.3) termios (0.9.4) thoughtbot-shoulda (2.10.2) topfunky-gruff (0.3.5) treetop (1.2.6) unicode (0.1) uuidtools (2.0.0) webrat (0.4.4) Thanks for any help!
2011 Sep 19
27
Installing Rails Help!
...rack-1.3.2, rack-1.2.3, rack-cache-1.0.3, rack-mount-0.8.3, rack-mount-0.6.14, rack-ssl-1.3.2, rack-test-0.6.1, rack-test-0.5.7, rails-3.0.3, railties-3.1.0, railties-3.0.3, rake-0.9.2, rdoc-3.9.4, rdoc-2.5.11, rdoc-data-2.5.3, sass-3.1.7, sass-rails-3.1.1, sprockets-2.0.0, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, turn-0.8.2, tzinfo-0.3.29, uglifier-1.0.3] (Gem::LoadError) from /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:761:in `block in activate_dependencies'' from /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/ruby...
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
2008 Sep 26
6
BDD / cucumber thought - chaining ''Then'' steps with Which
Going back to the debate about keeping state between steps, I found myself with the mild urge to be able to write this today: Given there is a user And the user has 20 friends Then I should see a thumbnail of each of the users''s friends Which should be a link to the user profile page for that friend NB: An idiom in this which may be songkick-only but was inspired by what
2011 Apr 16
17
Rails 3 Crashing On Windows 7
Hi guys, I have Rails 3 running on Windows 7 with Ruby 1.9.2 Every now and again, my server crashes, and I see the following information in the windows event log: Faulting application name: ruby.exe, version: 1.9.2.180, time stamp: 0x4d5ee5ed Faulting module name: msvcrt-ruby191.dll, version: 1.9.2.180, time stamp: 0x4d5ee5ec Exception code: 0xc0000005 Fault offset: 0x0011a00e Faulting process
2010 Sep 27
3
having some issues with factory_girl and bundler...
...ot;, ">= 1.4.0" gem "tzinfo", ">=0.3.5" gem "SystemTimer", ">=1.1.3" gem "will_paginate", ">= 2.3.11" gem "taf2-curb", ">=0.3.5.0" gem "pg" gem "hoptoad_notifier" gem "treetop" gem "term-ansicolor" gem "diff-lcs" group :development, :test do gem "factory_girl", :require => ''factory Note: last tried... Placing it outside of the groups, throw the same error... gem "rspec" gem "rspec-rails", "&g...
2011 Feb 21
1
authlogic problem
...fty-generators (0.4.5) open4 (1.0.1) pg (0.10.1) Platform (0.4.0) polyglot (0.3.1) POpen4 (0.1.4) rack (1.2.1) rack-mount (0.6.13) rack-test (0.5.7) rails (3.0.3, 2.0.2) railties (3.0.3) rake (0.8.7) rb-readline (0.4.0) rubyzip2 (2.0.1) sqlite3 (1.3.3 x86-mingw32) sqlite3-ruby (1.3.3) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.24) win32-open3 (0.3.2 x86-mingw32) ---------------------------------- when i try to start the server with ''>ruby script/server webrick'': => Booting WEBrick... C:/prails/zwemschool/config/environment.rb:22: private method `gem'' called for # <R...