Displaying 7 results from an estimated 7 matches for "kristianconsult".
2010 Jan 20
2
Rails 3 Problem: no such file to load -- rails (LoadError)
I just ran the gem bundle on the third_rails demo app, but for some
reason rails can''t be loaded!?
kristian-mandrups-macbook-pro:third_rails kristianconsult$ rails -v
Rails 3.0.pre
kristian-mandrups-macbook-pro:third_rails kristianconsult$ script/
generate model Post name:string
/Users/kristianconsult/my_rails/rails3_apps/third_rails/config/boot.rb:
71:in `require'': no such file to load -- rails (LoadError)
from /Users/kristianconsult/my_rai...
2010 Jan 18
2
Can't get gem bundler to work with either rvm 1.9.1 and 1.9.2
I installed the bundler, no problem - but it seems to have screwed up
my gem repository in both cases!?
What to do?
kristian-mandrups-macbook-pro:~ kristianconsult$ sudo gem install thor
/Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/lib/
rubygems_plugin.rb:2:in `require'': no such file to load -- bundler/
commands/bundle_command (LoadError)
from /Users/kristianconsult/.rvm/gems/ruby/1.9.1/gems/bundler-0.8.1/
lib/rubygems_plugin.rb:2:...
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps:
$ rake db:migrate --trace
rake aborted!
Don''t know how to build task ''db:migrate''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:1728:in `[]''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2050:in `invoke_task''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2029:in `block (2 levels) in top_le...
2011 Jan 02
3
undefined method `run_all' for :Array
...ers have run into this issue, but to resolve it just
rolled back to a previous version of rspec or it there a better way?
ruby-1.9.3-head/gems/rspec-core-2.3.1/lib/rspec/core/hooks.rb:116:in
`run_hook_filtered'': undefined method `run_all'' for []:Array
(NoMethodError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/example_group.rb:215:in `eval_after_alls''
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-head/gems/rspec-
core-2.3.1/lib/rspec/core/example_group.rb:237:in `run''
from /Users/kristianconsult/.rvm/gems/ruby-1.9.3-he...
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
...0.0.beta4)
railties (3.0.0.beta4)
$ bundle install
Using activesupport (3.0.0.beta4) from bundler gems
Using builder (2.1.2) from bundler gems
Using i18n (0.4.1) from bundler gems
...
Using railties (3.0.0.beta4) from bundler gems
Using rails (3.0.0.beta4) from bundler gems
$ rake test
/Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
railties-3.0.0.beta4/lib/rails/railtie/configuration.rb:76:in
`method_missing'': undefined method `i18n'' for
#<Rails::Railtie::Configuration:0x000001010fce98> (NoMethodError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-rc1/gems/
activesupp...
2010 Jan 20
1
CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
kristian-mandrups-macbook-pro:rails3_apps kristianconsult$ rails my_r3
create
create README
create .gitignore
create Rakefile
create config.ru
create Gemfile
create app
...
kristian-mandrups-macbook-pro:my_r3 kristianconsult$ script/console
/Users/kristianconsult/.gem/ruby/1.8/gems/json-1.1.9/ext/json...
2010 Jun 10
1
RSpec 2: uninitialized constant - mocking belongs_to AR relation
gems/ruby-1.9.2-head/bundler/gems/rspec-
core-2398fcadf5beb256bed9c548c59445d3b4c8a047-master/lib/rspec/core/
backward_compatibility.rb:26:in `const_missing'': uninitialized
constant Message::User (NameError)
from /Users/kristianconsult/.rvm/gems/ruby-1.9.2-head/bundler/gems/
rspec-expectations-996c752171a0a0e16347e934dadc25767e31186c-master/lib/
rspec/expectations/backward_compatibility.rb:6:in `const_missing''
from /Users/kristianconsult/Development/Languages/Ruby/Apps/Web-apps/
Rails/Rails-3/Experimental/views_example/...