Displaying 20 results from an estimated 2000 matches similar to: "Rails 3 Problem: no such file to load -- rails (LoadError)"
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/ext/
parser.bundle: unhandled exception
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
2011 Jan 02
3
undefined method `run_all' for :Array
I''m using the latest ruby 1.9.3-head and recently whenever I run rspec
(2.2+) I get the following error:
I have seen others 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
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''
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
I have recently upgraqded to Ruby 1.9.2-rc1 and reinstalled rails 3
beta 4 with all the dependencies. I have run bundle install in my
rails project. Now I am trying to run some tests...
My test_helper.rb file looks like this:
# test_helper.rb
require ''rubygems''
require ''test/unit''
require ''rails/all''
$ gem list
i18n (0.4.1, 0.3.7)
2006 Feb 20
8
Graceful stop in, timeouts out (for now)
Hey Luis,
Just implemented the first cut at a graceful stop setup. It seems to mostly
work except for a few hicups here and there which I''ll test out. I''ve
tested this under OSX and will test on the other platforms soon.
To use it take a look at the examples/simpletest.rb and see how I setup an
"INT" handler to call HttpServer.stop.
Hopefully this will help with
2010 May 10
3
Using Rails 3 edge to circumvent current_period bug?
I get an error using Rails 3 beta3 on Ruby 1.9.2-preview1
undefined method `current_period'' for nil:NilClass (NoMethodError)
This commit should fix it
http://github.com/rails/rails/commit/a0cc94b32e5b4e4dce50787eed1208406f99ea82
But I forgot how to ensure I am running on edge with Rails 3.
Is it a special bundler command I need to use?
Thanks!
--
You received this message because
2010 May 12
8
Trouble developing Rails plugins/gems with generators
Hi,
I''ve been trying to develop a Rails gem/plugin with generators for
Rails 3. I first had a separate gem project with a gem statement in my
Gemfile with a :path option to point at it. But then I had to run $
rake install on each change in my gem to have Rails pick up on it. I
have now instead put my generators inside RAILS_ROOT/lib so they are
easier to test/develop.
lib/generators
-
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/
2008 Sep 06
2
Server is not running....
Hi all,
I am getting the following error while running ruby
script/server
Same error is also coming even when ruby
script/console.........
./script/../config/boot.rb:45:in `require'': no such file to load --
./script/../config/../vendor/rails/railties/lib/initializer (LoadError)
from ./script/../config/boot.rb:45:in `load_initializer''
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require
2011 Nov 28
1
Queue-Tip/Adhearsion installation tip
Hi,
I'm giving Queue-Tip a try, following installation instructions in
http://queue-tip.rubyforge.org/install.html.
My setup is :
ruby 1.8.7
rubygems 1.3.7
rails 3.1.3
Adhearsion 1.2.3
I'm struck in step 7 in the above installation procedure :
# rake --trace db:create
(in /usr/local/src/queue-tip)
rake aborted!
no such file to load -- initializer
2010 Feb 25
2
error on project run.....
Hi,
i am new at rails, working on a project,as i run my project in
netbeans, the following error comes in the output window,
suggest some fix for it.
C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/
gems/rails-2.3.2/lib/initializer.rb:32: C:/Program Files/NetBeans 6.7
Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/
initializer.rb:1070: , unexpected kEND
2010 Jun 10
1
RSpec 2 equivalent for: assigns[:message].should == @message
describe MessagesController, "POST create" do
before(:each) do
@message = mock_model(Message, :save => nil)
Message.stub(:new).and_return(@message)
end
context "when the message fails to save" do
before(:each) do
@message.stub(:save).and_return(false)
end
it "assigns @message" do
post :create
assigns[:message].should
2009 Aug 29
2
Users, Roles and Permissions
Hello,
I''m currently working on a text-based roleplay browser game, and i''m trying
to figure out what the best approach would be in order to create a system
that allows me to assign roles to a user, and permissions based upon the
role a user has.
I''ve been thinking about creating a model User, which has_many :roles, and
with the Role model which has_many :permissions.
2010 May 13
1
link_to using smart API
Trying to use the "smart" API for link_to
def create_link(object, label = nil)
label ||= auth_labels[:new]
link = link_to(label, [:new, object]) if can?(:create, object)
link.sub /new\./, ''new/''
end
But this generates a link like /projects/new.1 , instead of /projects/
new
I would assume it would make sense to pass it the class instead, like
this, sense in
2011 May 13
7
OCFS2 1.6 for RHEL?
Hello!
When is it planned ocfs2 1.6 will be available for RHEL?
/Kristian
2009 Aug 31
3
Getting this error
HI friends,
After updating ruby 1.8 to ruby1.9.1.......& on firing script/server to
start a server,
I am getting the following errror.....
/home/HUNT/WEBlog/config/boot.rb:86:in `load_rubygems'': undefined method
`>='' for nil:NilClass (NoMethodError)
from /home/HUNT/WEBlog/config/boot.rb:52:in `load_initializer''
from /home/HUNT/WEBlog/config/boot.rb:38:in
2013 Nov 24
3
The state of btrfs RAID6 as of kernel 3.13-rc1
Hi
What is the general state of btrfs RAID6 as of kernel 3.13-rc1 and the
latest btrfs tools?
More specifically:
- Is it able to correct errors during scrubs?
- Is it able to transparently handle disk failures without downtime?
- Is it possible to convert btrfs RAID10 to RAID6 without recreating the fs?
- Is it possible to add/remove drives to a RAID6 array?
Regards,
Hans-Kristian
--
To
2008 Oct 08
2
In place upgrade
Excuse the basic question but how do I do an in place upgrade from
src? 3.2.2 to say 3.2.4.....
Cheers,
Kristian