Guide to Rails command line
http://guides.rubyonrails.org/command_line.html
$ RAILS_ENV=development jruby -S gem list
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activerecord-jdbc-adapter (0.9.3)
activerecord-jdbcmysql-adapter (0.9.3)
activeresource (2.3.5)
activesupport (2.3.5)
block_helpers (0.3.2)
builder (2.1.2)
columnize (0.3.1)
cucumber (0.9.2)
cucumber-rails (0.3.2)
diff-lcs (1.1.2)
factory_girl (1.2.4)
gem_plugin (0.2.3)
gherkin (2.2.9)
haml (2.2.22)
jdbc-mysql (5.0.4)
jruby-jars (1.5.3)
jruby-openssl (0.6)
jruby-rack (1.0.3)
json (1.4.6)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rdoc (2.5.11)
rdoc-data (2.5.3)
rspec (1.3.0)
rspec-core (2.0.1)
rspec-expectations (2.0.1)
rspec-mocks (2.0.1)
rspec-rails (1.3.2)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3.2)
ruby-openid (2.1.7)
rubyzip (0.9.4)
sources (0.0.1)
term-ansicolor (1.0.5)
warbler (1.2.1, 0.9.13)
$ RAILS_ENV=development jruby -S ./script/generate rspec_model users
http://lukeredpath.co.uk/blog/developing-a-rails-model-using-bdd-and-rspec-part-1.html
http://rspec.info/
http://rspec.info/documentation/
$ jruby -S spec/models/users_spec.rb
spec/models/users_spec.rb:1:in `require': no such file to load -- spec_helper (LoadError)
from spec/models/users_spec.rb:1
$ cd spec/
$ jruby -S models/users_spec.rb
http://github.com/rspec/rspec-dev
No comments:
Post a Comment