Displaying 20 results from an estimated 4000 matches similar to: "Getting this error"
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
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys.
I''m a freshman on Rails (and Ruby) so I''m sorry if my question is
pretty basic, and possible has a vary basic answer. I tried to Google
this problem, but a couple of hour after and no solution found, I
decided to ask for help here.
I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite
version 3.6.18 (I think this is all that it''s needed).
I´m reading
2010 Oct 22
6
(Unable to start rails application) ruby scipt/server error
1) I installed the ruby-1.9.2-p0 and rubygems-1.3.7 in the
(/usr/local/src directory )
2) Then i installed rails from terminal by typing follwoing
sudo gem install rails --include-dependencies
3) Then i made a rails applcation from terminal as
rails new demo
then
cd demo
ruby
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi,
we want to install the ruby-gem package on a Debian system using puppet.
package { ''ruby1.9.1'': ensure => present }
In another manifest we want to use the gem provider to install a ruby gem.
package { ''bundler'': ensure => present, provider => gem }
On the first run the puppet agent run checks for a functional gem binary on the system.
It will
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
2009 Mar 08
3
Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
Hi there,
Just want to upgrade to ruby1.9.1, but some important gems such as
mysql, fastthread, mongrel are not compatible with the newest version,
anyone has some good tutorial for recommendation?
Thanks,
chenillen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to
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''
2009 Mar 11
5
FXRuby-1.6.19 don''t run in ruby1.9.1 on windows.
I built fxruby-1.6.19 in win32 using msys + mingw tools.
The process of doing it is ok and generate a file fox16.so in the directory
ext\fox16.
But when i require ''fox16'', it fails to work. it reports that "LoadError:
127. The specified procedure could not be found . - Init_fox16
C:/ruby_1.9.1/usr/local/lib/ruby/site_ruby/1.9.1/i386-msvcrt/fox16.so ".
how can i
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
2011 Sep 26
1
Instalation help
Hi guys, my first post :D
I have a problem installing rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
extconf.rb:36:in `require'': no such file to load -- mkmf (LoadError)
from extconf.rb:36:in `<main>''
Gem files will remain installed in
2010 Oct 22
1
Could not find rake-0.8.7 in any of the sources
After upgrading my server to:
Ubuntu server 10.10
Ruby 1.9.2
Rails 3.0.1
Passenger 3.0.0
rake is unable to find itself:
> rake -T
Could not find rake-0.8.7 in any of the sources
Try running `bundle install`.
but `gem list` and ''bundle list'' shows that rake-0.8.7 is installed!
When loading the webapp in the browser:
Could not find rake-0.8.7 in any of the sources
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 Sep 21
3
Rails 3 deployment on Passenger
I''m trying to move up to Rails 3 and everything is going fine on my
workstation where I have installed all of the necessary gems. The
problem I''m having is getting it to run on the production server that
I have to use where the app needs to be vendored. It''s on a Debian
Squeeze box with ruby l.8.7, rubygems 1.3.6, librack-ruby1.9.1,
passenger - 2.2.11debi and bundler
2009 Feb 03
1
"uninitialized constant Gem::Etc (NameError)" when starting server
I keep getting this when I try to start the server:
[Macintosh:rails/work/demo] jslicari% script/server
/Library/Ruby/Site/1.8/rubygems.rb:723:in `set_paths'': uninitialized
constant Gem::Etc (NameError)
from /Library/Ruby/Site/1.8/rubygems.rb:719:in `each''
from /Library/Ruby/Site/1.8/rubygems.rb:719:in `set_paths''
from /Library/Ruby/Site/1.8/rubygems.rb:526:in
2012 Jan 03
1
updating rails version to 3.1.3 get error
hi all,
i have ruby : 1.8.7 rails :2.3.11 and rubygem:1.6.2 installed on my
Windows sys. my application work without error .I have upgraded the
environment
to gem:1.8.12,rails:3.1.3 ,ruby:1.9.2
i have getting the following error on starting the Webrick server
D:/Hemant/Suggestica_setup/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'': cannot load such
2010 Apr 23
3
rails-3.0.0.beta3 install error on ri 'lib' ENOENT
Hi,
I was getting an odd error installing rails-3.0.0.beta3 on a fresh
Ubuntu 10.04 install. The same exact error was occurring on my Ubuntu
9.10 install, so I''m sure it isn''t something specific to the Ubuntu
version (nor beta for that matter).
This is the error:
mike@ubuntu:~/rubygems-1.3.6$ sudo gem1.9.1 install rails --pre
Successfully installed activesupport-3.0.0.beta3
2010 Oct 16
1
Unable to start rail application at localhost
i am new to ruby on rail. i installed it to my computer.After that i
created the rail application by typing in terminal
rail rubyapplication
It was create
in my home directory.Afterwared i did follwoing
cd /home/administrator
and
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2013 Feb 06
5
rake db:migrate_plugins RAILS_ENV=production fails with "no such file to load -- initializer"
I''m running Redmine on Ruby, and attempting to load a new plugin. When I
attempt to run the command:
rake db:migrate_plugins RAILS_ENV=production
It fails with this error:
rake aborted!
no such file to load -- initializer
/var/www/redmine/config/boot.rb:65:in `require''
/var/www/redmine/config/boot.rb:65:in `load_initializer''
/var/www/redmine/config/boot.rb:43:in
2011 Dec 15
6
Puppet with Ruby1.9 issue
Hi,
I have a running puppetmaster with nginx and passenger and ruby 1.9.2.
When i do puppet cert --trace --list . i get the following error.
/usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/puppet/application/
cert.rb:43:in `block (2 levels) in <class:Cert>''
/usr/lib64/ruby/gems/1.9.1/gems/puppet-2.7.9/lib/puppet/application.rb:
357:in `block (2 levels) in parse_options''