Displaying 20 results from an estimated 1200 matches similar to: "undefined method `^' for "d":String"
2009 Aug 31
7
"Missing these required gems: rspec-rails" in ruby 1.9
i get the above error when running rake.
I tried switching rails 2.3.3 with 2.3.2 but it didn''t help.
here are my gems:
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2)
builder (2.1.2)
cucumber (0.3.98)
diff-lcs (1.1.2)
hoe (2.3.3)
nokogiri (1.3.3)
polyglot (0.2.8)
rack (1.0.0)
rails (2.3.2)
rake (0.8.7)
rspec (1.2.8)
rspec-rails
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
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
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
2009 Nov 24
2
Deploying Error: undefined method 'generate_best_match='
Hey guys,
I''m quite new to rails and experiencing some problems with the
deployment of my application to a web server.
I am using github, can connect to the server, "cap deploy:check"
and :setup run fine, but when I want to use "deploy:cold" or migrate
my database (rake RAILS_ENV=production db:migrate) I get this error:
rake aborted!
undefined method
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
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
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
I''m use Ruby 1.9 via rvm and Rails 2.3.3. I''m on OS X 10.5 and I have
the mysql 2.8.1 gem installed. When I run rake on my rails app, I get
the error "wrong argument type Mysql (expected Struct)". I can run
the app fine with script/server and script/console fine. Is anyone
else having this problem or know what might cause this problem?
Here''s the stack
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 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
they all pass. But when I
$ rake spec
I get
<path to
2009 Dec 01
12
Rails 2.3.5 - Cannot install plugin
I''m always get the message "Plugin not found: ["git://github.com/
aaronchi/jrails.git"]" when trying to install a rails plugin, even for
SVN or GIT. After google search, some people suggest that replace
"git://" with "http://" and add "/" at the end of the url. I tried and
it still does not work.
I used the ruby 1.9.1-p243 and rails
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
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 Sep 29
3
Foreman barfs on startup.
All,
First attempt at running foreman.
[pax] prov01 /usr/share/foreman/script:# ./server -e production
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
/usr/share/foreman/vendor/rails/activesupport/lib/active_support/dependencies.rb:443:in
`old_load_missing_constant'': uninitialized constant Puppet::Rails
(NameError)
from
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''
2008 Jun 02
3
Undefined method `store_full_sti_class=' for ActiveRecord::Base:Class (NoMethodError)
Hi everyone,
I created a new demo app with ''rails demo'' and proceeded to try and
launch the server with ''ruby scripts/server''.
I get the following stack:
C:\railsProj\demo>ruby script/server
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to
2009 Dec 18
1
rubyinstaller-1.9.1-p243-rc1.exe | wxruby-ruby19-2.0.1-x86-mingw32.gem | encodage
Bonjour Alex.
Ce matin j'ai installer "rubyinstaller-1.9.1-p243-rc1.exe"
"wxruby-ruby19-2.0.1-x86-mingw32.gem"
"SciTE.exe 2.0.1.0"
Quand j'exécute (avec scite) mon fichier "Rss-wxruby.rbw" qui est encodé
en utf8 et qui habituellement(avec les anciennes versions de ruby,
wxruby et scite) fonctionne correctement, j'obtient ce message
2012 Feb 19
1
puppet-module on Debian
"The nice thing about standards is that there are so many to choose from."
-- Andrew S Tannenbaum
Debian does wonky things when you install a gem from "gem install."
Usually this isn''t a problem unless there are executables to consider.
I am running into that very thing with the "puppet-module" script on my
laptop which runs a flavor of Debian.
I thought I
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All
I am getting this error, any one resolved this..... it''s urgent
ruby script/server --debugger
=> Booting WEBrick...
=> Debugger enabled
config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no
specification file. Run
2011 Dec 13
1
Trouble setting up Rails with a JS runtime environment
Hi all,
I''m using Ubuntu 11.10 and the terminal to install and run Rails. Here
is the process I''ve taken so far to setup Rails:
> download and install Ruby 1.9.2 and Rails 3.1.0
-- I did this using ''sudo apt-get ruby1.9.1'' and ''sudo gem install
rails''
> I made a new rails app using ''rails new path/to/app''
> I went