search for: p290

Displaying 20 results from an estimated 46 matches for "p290".

Did you mean: 290
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
...ng error while restarting the server after generating an resource. *rails generate active_admin:resource item* /home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top (required)>'': uninitialized constant Item (NameError) from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in `block in load!'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in `each'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/a...
2011 Sep 19
27
Installing Rails Help!
....3'' gem ''ruby-mysql'' I then did the bundle install but this kept causing errors, eventually somehow I got this to work and it said bundle installed correctly. However when I try the command rails server i get the following error: /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs'': Could not find abstract (>= 1.0.0) amongst [actionmailer-3.1.0, actionmailer-3.0.3, actionpack-3.1.0, actionpack-3.0.3, activemodel-3.1.0, activemodel-3.0.3, activerecord-3.1.0, activerecord-3.0.3, activeresource-3.1.0,...
2011 Dec 07
1
Errors when running the local server
...o cannot figure out what do these lines mean: 129-97-231-189:rewrite liujunjun$ rails server => Booting WEBrick => Rails 3.1.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load'': /Users/liujunjun/rewrite/config/routes.rb:11: syntax error, unexpected kDO, expecting $end (SyntaxError) from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:23...
2012 Jan 20
3
Istalling Ruby 1.9.2
...y/.rvm/archives Extracting yaml-0.1.4.tar.gz to /Users/fkrihely/.rvm/src Configuring yaml in /Users/fkrihely/.rvm/src/yaml-0.1.4. Compiling yaml in /Users/fkrihely/.rvm/src/yaml-0.1.4. Installing yaml to /Users/fkrihely/.rvm/usr Installing Ruby from source to: /Users/fkrihely/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)... ruby-1.9.2-p290 - #fetching ruby-1.9.2-p290 - #downloading ruby-1.9.2-p290, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dloa...
2011 Nov 05
2
Where is my gem file located so that i can rake test
...) rails (3.1.1) railties (3.1.1) rake (0.9.2.2, 0.9.2) rdoc (3.11) sass (3.1.10) sass-rails (3.1.4) sprockets (2.0.3) sqlite3 (1.3.4) thor (0.14.6) tilt (1.3.3) treetop (1.4.10) turn (0.8.3) tzinfo (0.3.30) uglifier (1.0.4) eldorado@ubuntu:~/work/depot$ rake test /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/turn-0.8.3/lib/turn/ autorun/minitest.rb:14:in `<top (required)>'': MiniTest v1.6.0 is out of date. (RuntimeError) `gem install minitest` and add `gem ''minitest'' to you test helper. from /home/eldorado/.rvm/gems/ruby-1.9.2-p290/gems/ activesupport-3.1.1/...
2012 Aug 14
1
NoMethodError: undefined method `accept' for nil:NilClass
Here''s the trace, NoMethodError: undefined method `accept'' for nil:NilClass from /Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `to_sql'' from /Users/blaine/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:89:in `insert'' from /Users/bla...
2012 Jan 15
1
NoMethodError: undefined method `expect'
Ideas? ruby-1.9.2-p290 :002 > require ''rspec'' => true ruby-1.9.2-p290 :003 > RSpec::Version::STRING => "2.8.0" ruby-1.9.2-p290 :004 > describe ''division by zero'' do ruby-1.9.2-p290 :005 > expect { 2/0 }.to raise_error ruby-1.9.2-p290 :006?> end No...
2011 Oct 16
4
Ruby on rails with twitter integration
..._endpoint="https://upload.twitter.com/", @faraday_options={}> * client.update(''Test post from the console'')* Twitter::Unauthorized: POST https://api.twitter.com/1/statuses/update.json: 401: Could not authenticate you. from /home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/twitter-1.7.2/lib/faraday/response/raise_http_4xx.rb:12:in `on_complete'' from /home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/faraday-0.7.5/lib/faraday/response.rb:9:in `block in call'' from /home/cyberpro/.rvm/gems/ruby-1.9.2-p290/gems/faraday-0.7.5/lib/faraday/resp...
2011 Nov 01
1
rake db:migrate aborted
...ke aborted! undefined method `prerequisites'' for nil:NilClass (See full trace by running task with --trace) When I try with rake db:migrate --trace I get the following errors: rake aborted! undefined method `prerequisites'' for nil:NilClass /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/ rspec/rails/tasks/rspec.rake:3:in `<top (required)>'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/ rspec-rails.rb:10:in `load'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/ rspec-rails.rb:10:in `...
2011 Oct 14
3
RSpec 2 not working on Rails 3.1.1
Hey, I updated some Gems and now rspec seems to be broken. The weird thing is it fails because of Test::Unit which doesnt make much sense to me. /Users/username/.rvm/gems/ruby-1.9.2-p290@ror_project/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_ /Users/username/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/testcase.rb:9:in `<class:TestCase>'': uninitialized constant Test::Unit::TestCase::Assertions (NameErro...
2011 Nov 27
0
/usr/bin/ld: cannot find -lmysqlclient_r installing ruby gem mysql2.... in Fedora Linux + MySQL 5.5.15...
...s]$ [dinooz@fedora rails]$ rpm -qa |grep MySQL MySQL-client-5.5.15-1.linux2.6.i386 MySQL-test-5.5.15-1.linux2.6.i386 MySQL-server-5.5.15-1.linux2.6.i386 MySQL-shared-compat-5.5.15-1.linux2.6.i386 MySQL-devel-5.5.15-1.linux2.6.i386 [dinooz@fedora rails]$ [dinooz@fedora rails]$ ruby -v ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux] [dinooz@fedora rails]$ gem -v 1.8.10 [dinooz@fedora rails]$ rails -v Rails 3.1.3 [dinooz@fedora rails]$ [dinooz@fedora rails]$ gem install mysql2 Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Fai...
2011 Oct 04
4
Problem: Puppet under Passenger.
...id=24647 thr=268010020 file=utils.rb:176 time=2011-10-04 11:45:10.892 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet/application/master) (process 24647, thread #<Thread: 0x0000001ff30448>): from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/ 1.9.1/rubygems/custom_require.rb:36:in `require'' from /usr/local/rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/ 1.9.1/rubygems/custom_require.rb:36:in `require'' from config.ru:13:in `block in <main>'' from /usr/local/rvm/ge...
2012 Jan 01
4
Chronic parsing date range in console but not in application in rails 3
Hey all, Chronic will parse a date range in console: Chronic.parse(1/1/2011 - 1/1/2012, :guess => false) => 2012-01-01 12:00:00 -0500..2012-01-01 12:00:01 -0500 However, when I use logger to check if it''s parsing in application, it is not: logger.info "The value of history date is #{history_date}" => The value of history date is 1/1/2011 - 1/1/2012
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem.. >> bundle exec rspec -p spec/models/* give error: .. .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ dependencies.rb:240:in `require'': no such file to load -- rspec/rails (LoadError) from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `block in require'' from /home/slava/.rvm/...
2011 Aug 28
1
troubles running rspec..
developing a 3.1 app. trying to run spec on and get this error: bundle exec rake spec ***************************************************************** DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec. /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/ runtime.rb:68:in `require'' * Rspec is deprecated. * RSpec is the new top-level module in RSpec-2 *************************************************************** [DEPRECATION WARNING] Nested I18n namespace lookup under "activerecord.attributes.order&q...
2011 Oct 13
1
puppet apache module
I''m getting this and it isn''t applying my apache module. Is it because of these warnings? notice: Starting Puppet client version 2.7.5 /usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/ provider/service/freebsd.rb:8: warning: class variable access from toplevel /usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7.5/lib/puppet/ provider/service/freebsd.rb:9: warning: class variable access from toplevel /usr/local/rvm/gems/ruby-1.9.2-p290/gems/puppet-2.7...
2012 Feb 01
10
Very strange problem: Ton's of ruby process just running simple command "rails --version" or "rails
...1" --> this suppose to be create a new rails site. "rails --version" --> even this I got ton''s of ruby process but I got a lot of ruby process, http://imageshack.us/photo/my-images/12/tonsofrubyprocess.png/ Here is my environment rvm --version rvm 1.7.2 ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.6.0] rails-3.2.1 Any one every has the same problem? Attachments: http://www.ruby-forum.com/attachment/6948/TonsOfRubyProcess.jpg -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Grou...
2011 Aug 22
6
Trouble with Ruby on Rails
...ruby version I have is "1.8.7". Strange, isn''t it? So, I have tried "rvm use 1.9.2" command, but it still says my ruby version is 1.8.7. I even re- installed ruby 1.9.2 using RVM a few more times, but no luck. when I typed "rvm list", it says "ruby-1.9.2-p290". Does that mean my rvm did install ruby 1.9.2, but for some reason, i cannot get my RVM switch to ruby 1.9.2 from ruby 1.8.7? what can i do to use ruby 1.9.2?? By the way, when I typed "rvm info", and it says "ruby-1.9.2-p290" and then all the other stuff explaning. Does...
2011 Oct 30
2
Could not find rails (>= 0) amongst [bundler-1.0.21]
...'ve almost completed my trek to install Rails ... looks like I have one final hurdle. After installing rails I try the ''rails -v'' command and it fails. Any help here would be deeply appreciated. Here''s the output from my bash session: bash-3.2$ ruby -v ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0] bash-3.2$ which gem /Users/doug/.rvm/rubies/ruby-1.9.2-p290/bin/gem bash-3.2$ sudo gem update --system Password: Updating rubygems-update Fetching: rubygems-update-1.8.11.gem (100%) Successfully installed rubygems-update-1.8.11 Installing RubyGems 1...
2012 Jan 15
2
ruby-debug19 error undefined symbol: ruby_current_thread
...ts/mydomain.com/rails/testsbga/shared/bundle/ruby/ 1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined symbol: ruby_current_thread - /var/www/vhosts/mydomain.com/rails/ testsbga/shared/bundle/ruby/1.9.1/gems/ruby-debug-base19-0.11.25/lib/ ruby_debug.so I am using rvm : ruby-1.9.2-p290@rails3 with Rails 3.0.9 & ruby-debug19 installed as : gem install ruby-debug19 -- --with-ruby-include="home/erwin/.rvm/src/ ruby-1.9.2-p290@rails3" what could be wrong ? anything related with linebase19 and ruby- debug19 versions w Rails 3.0 ?? whatever it''s a production...