Displaying 20 results from an estimated 9000 matches similar to: "running rails on Linux"
2008 Oct 24
2
Rails problem
What wrong?
# gem install rails -s http://gems.rubyonrails.org -v 2.2.0
Successfully installed activesupport-2.2.0
Successfully installed activerecord-2.2.0
Successfully installed actionpack-2.2.0
Successfully installed actionmailer-2.2.0
Successfully installed activeresource-2.2.0
Successfully installed rails-2.2.0
6 gems installed
Installing ri documentation for activesupport-2.2.0...
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake
tasks:
$ rails destroy scaffold genotypes
/usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in
`default_options'': undefined method `write_inheritable_attribute'' for
Rails::Generator::Base:Class (NoMethodError)
from
/usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2012 Jul 27
7
Getting error while starting server plz help
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/options.rb:32:in
`default_options'': undefi
ned method `write_inheritable_attribute'' for
Rails::Generator::Base:Class (NoMethodError)
from
c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails_generator/base.rb:90:in
`<class:Base>''
from
2005 Jun 01
0
problem with rails rails-0.12.1 with Ruby 1.8 on OS X Panther
I have installed ruby, gem and rails.
I am trying to create a new project and I get some error messages.
undefined method `write_inheritable_attribute'' for
Rails::Generator::Base:Class (NoMethodError)
Am I missing something?
regards,
Arnaud
PS: detail of the error message I get.
$ ruby /usr/local/lib/ruby/gems/1.8/gems/rails-0.12.1/bin/rails
2006 Mar 23
1
Need installation Help
Im running windows 98.
I followed the steps provided by Curt to install ruby.
when typing gem install rails --remote
I got bad command or file name.
I then proceeded to change all .cmd file to .bat file with rename *.cmd
*.bat
I updated ruby gems from 8.3 to 8.11.
I then typed gem install rails --remote, and it worked.
I now try rails -v at the command prompt and it says bad command or file
2011 Jul 04
2
ruby and rails wont work even they're already installed
mongskie@mongskie-os:~$ gem
/usr/bin/gem:4: undefined method `manage_gems'' for Gem:Module
(NoMethodError)
mongskie@mongskie-os:~$ rails
/usr/lib/ruby/1.8/active_support/dependencies.rb:55: uninitialized
constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require''
from
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep
getting the following error when I run "generate login
Account":
/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in
`manifest'': No manifest for ''login'' generator.
(NotImplementedError)
from (eval):3:in `__send__''
from (eval):3:in `manifest''
from
2006 May 09
5
Solaris migration error:Lost connection to MySQL server
We have installed rails 1.1.2 and Ruby 1.8.4 on solaris. When we attempt
to
run the initial migration we get the following error:
Mysql::Error: Lost connection to MySQL server during query: SELECT
version FROM schema_info
/web/server/pkgs/ruby-1.8.4/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log''
2007 Sep 05
1
AAF and DRb with highlighting
How would I change this method in order to get highlighting working with
DRb? I''ve given up on searching on Google, I''m getting no results that
are actually helpful.
def self.find_storage_by_contents(query, options = {})
# Get the index that acts_as_ferret created for us
index = self.aaf_index.ferret_index
results = []
default_options = {:limit => 10,
2007 Oct 03
3
Pagination problem with acts_as_ferret
Hi,
am using this wonderful plugin acts_as_ferret and according to the
tutorial at http://railsenvy.com/2007/2/19/acts-as- ? rial#basic
I worked it out except the pagination feature.
If I have 12 records and I give limit to 10, its correctly displaying 10
records in the first page and is giving the link to the second page too.
But when I go to the next page I find the same 10 records instead of
2009 May 10
3
Ruby 1.9 problem
What wrong:
# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
`<top (required)>'': uninitialized constant URI::Parser (NameError)
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`require''
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`block in
2006 Jun 28
5
rails destroys rdoc...again
for many versions of ruby, and as many versions of rails, ive been unable to generate docs without deleting this file:
lib/rails_generator/generators/components/controller/templates/controller.rb
ruby just chews more and more memory until swap fils up and the system has to be reset..
m gems # rdoc --version
RDoc V1.0.1 - 20041108
ruby --version
ruby 1.8.5 (2006-06-22) [x86_64-linux]
2019 Dec 22
1
CENTOS8: running wine 32 bits?
Hi Philippe,
To get wine-32 to work on CentOS 7.6 I had to build and install wine 1.8.4 from a tarball.
Follow the instructions at: https://wiki.winehq.org/Building_Wine
and build the 64-bit version first, then the 32-bit version.
Before building either version I installed the following X11 devel pkgs from yum:
libX11-devel.i686
libxcb-devel.i686
libXext-devel.i686
Depending on your setup
2007 May 02
4
Wrong total_hits when using conditions in find_by_contents
In my model Topic:
acts_as_ferret({ :fields => {:username => {:store => :yes, :boost =>
30}, :subject => {:store => :yes, :boost => 20}, :body => {:store =>
:yes, :boost => 10}}, :remote => true }, { :analyzer =>
Ferret::Analysis::RegExpAnalyzer.new(/./, false) })
def self.full_text_search(q, options = {}, find_options = {})
return nil if q.nil? or
2007 May 22
5
rails edge
hi,
first time trying rspec, and rails edge. Are there any known issues
running rspec with rails edge?
for one, apparently script/generate scaffold_resource has been
renamed just "resource". Do I just search/replace "scaffold_resource"
with "resource" in file rspec_resource_generator.rb ? Somethings
still missing.
before i get "Couldn''t find
2006 Apr 03
18
newbie generate scaffold
Hi Guys
First time on the list and pretty new to the rails way of doing
things, yup I know sorry.. another newbie!
anyway, apologies out of the way, this is the problem I am having...
I have purchased the "Agile Development with Rails" book and have
just started running through the ''Depot'' demo application.
I have got to page 57...
I have my project files all
2007 May 24
2
Missing RspecScaffoldGenerator
Just a quick note that I had to make the following change after
installing 1.0.2 as rails plugins to get the resource generator
working:
Index: rspec_scaffold_generator.rb
===================================================================
--- rspec_scaffold_generator.rb (revision 2022)
+++ rspec_scaffold_generator.rb (working copy)
@@ -1,4 +1,4 @@
-class RspecResourceGenerator <
2006 Mar 05
1
rdoc on edge rail fails at generator template
Infinite loop at a generator template :-
controller.rb: c
railties/lib/rails_generator/generators/components/controller/templates/controll
er.rb:3:15: Expected class name or ''<<''. Got RubyToken::TkLT: "<"
And BTW why are templates named .rb ?
Thanks
--
Posted via http://www.ruby-forum.com/.
2007 Jul 18
5
Strange search result with conditions in find_by_contents
Hi, guys:
Strange search result with conditions in find_by_contents!
first of all, i''ve installed the acts_as_ferret to my project vender
folder by ''ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret''
in my SearchController
def searchforum
if !params[:doSearch].nil?
if params[:searchTerms].nil? || params[:searchTerms] ==
2017 Dec 15
1
Milestone: 12,000 packages on CRAN
CRAN reached 12,000 packages [1] today (December 15, 2017).
A huge thank you to the CRAN team!
Milestones:
2017-12-15 12000 pkgs (+6.1/day over 165 days) 6910 mnts (+3.2/day)
2017-07-04 11000 pkgs (+6.3/day over 159 days) 6377 mnts (+3.3/day)
2017-01-27 10000 pkgs (+6.3/day over 158 days) 5845 mnts (+3.5/day)
2016-08-22 9000 pkgs (+5.7/day over 175 days) 5289 mnts (+5.8/day)
2016-02-29 8000