Displaying 20 results from an estimated 10000 matches similar to: "Can Rails be used without gems?"
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
Happy Holidays,
I am new to RoR and have just run through the install, which well
seemed to be vaquely documented as some ''Do this'' type of thing on
the http://rubyonrails.org/download page.
download gem
setup.rb
gem install rails
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
and then ( drumroll ) ....
Follow the instructions on
2009 Jun 29
2
Cannot Run Ruby on Rails on windows Vista or 7
Hi There,
I have installed ruby on rails on a windows 7 box as mentioned on the
official ror manual and it works perfectly for some times. but when I
refresh web browser page few times I got this error and now nothing is
working on my pc.
here is the error I get when i try to start the server now. does
anyone has experienced this before?
C:\Users\Randika\emktplcusers>ruby script\server
=>
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
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb
map.connect ''admin'', :controller => ''/admin/welcome''
I have found plenty of examples saying this is correct if you have a
WelcomeController in the Admin module, which I do :)
But now webrick won''t even start ??? Look at those 4 colons ::::, what
is that about ?
help !
=> Booting WEBrick...
2009 Jan 12
5
Restful Authentication Uninitialized Constant in Production...
rake db:migrate RAILS_ENV=production
rake aborted!
uninitialized constant User::Authentication
The preceding I encounter when attempting to migrate to the production
database. My google powers have escaped me. Everywhere says Restful
Authentication is missing in the production server. However, to
validate this, I attempted this on the same server as the development,
which works.
So, what
2007 Jul 07
6
Help in upgrading from 1.1.6 to 1.2.3
Hi, I was developing a rails app with version 1.1.6 that just worked
fine.
I decided to upgrade to 1.2.3 and then, I keep getting that horrible
message:
"Application error
Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html"
Now, before starting script/server I modiffied config/environment.rb
and
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error :
/Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e
$stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test
Testing started at 12:00 PM ...
(in /Users/nikosd/Work/.../.../...)
2006 Apr 16
5
ActionMailer
Is there a way to connect to a SMTP server that requires TLS since
ActionMailer doesn''t support it?
Thanks,
Lantis.
--
Posted via http://www.ruby-forum.com/.
2013 Aug 21
3
syntax error, unexpected tRPAREN raised in server log
In my server log, I am seeing this error message that is raised in
activesupport.
2013-08-12T23:06:08.932580+00:00 app[web.2]: SyntaxError
(/app/vendor/bundle/jruby/1.9/gems/activesupport-4.0.0/lib/active_support/callbacks.rb:374:
syntax error, unexpected tRPAREN
2013-08-12T23:06:08.932580+00:00 app[web.2]:
2013-08-12T23:06:08.932580+00:00 app[web.2]: def () value = nil
2006 Jun 08
19
Agile Web Dev (book) question: errors
This is kind of frustrating (but no doubt helpful in the long run) that
after following along and coding , and d/l the code the same error is
appearing.
For those who are familiar with the depot app, I''ve run into a problem after
fixing the cart to reflect quanitites. I worked through the intended error
messages but now have this appearing:
SyntaxError in StoreController#add_to_cart
2008 Sep 18
1
user_observer (restful_authentication) causes failure in loading rails
I have restful_authentication in use on an app and it has been working
fine, but I recently was changing the account creation flow and needed
to enable the UserObserver. I did so by including it in the
environment.rb (config.active_record.observers = :user_observer) and
Rails wouldn''t start.
I got the following error;
source/communitysites/vendor/rails/activerecord/lib/active_record/
2011 Dec 07
1
Errors when running the local server
Hi all,
I''m running an application on my localhost, but the command "rails server"
behaves very inconsistently. About an hour ago it ran well on another app,
but got errors now.
According to the errors it seemed that the server began to run but the
there is something missing in the library. But I''m very new to Rails so
cannot figure out what do these lines mean:
2006 Jun 16
5
superclass mismatch for class OrderedOptions
I have Rails 1.1.2 installed and froze my app to 1.0 by checking it out
into the vender directory. Maybe it''s coincidence, but now when trying
to do rake migrate I get this:
> rake migrate --trace
(in /home/beet/workspace/)
rake aborted!
superclass mismatch for class OrderedOptions
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/ordered_options.rb:27
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and
views and I cannot figure out how to do that. Googling hasn''t turned up
anything useful and I''m looking at the PickAxe book, and I get the
impression that a constant must belong to a class.
If I just want a constant like...
CompanyPhoneNo = "(602) 999-9999"
and be able to use it in any view
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
Hello, I am new to rails but have been having fun so far. Until now.
I
am sure this is just my inexperience but I have the RMagick gem (ruby
gem
for using imagemagick manipulation) installed on my machine that I
would
like to then use in my rails app. I first installed it and tried it
out,
and it didnt do anything for me, took me a while to realize I needed
the
windows RUBYOPT
2006 Dec 29
2
Gems looking in the wrong dir
Hello,
When I tested out SVN 1987, puppetmasterd barfs because gems is
looking in puppet/rails/lib no puppet/rails. This is under FC6 with
gems/rails installed from source. The simple fix for me was to create
the directory lib and link the files in /puppet/rails there.
.r''
Original error:
# puppetmasterd --debug
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2007 Jan 24
7
Ferret problems with Rails 1.2.1
Hi, I''ve just updated rails from 1.1.6 to 1.2.1 and I''m getting the
following errors whenever I load a page that uses a class that uses
ferret. I have ferret 0.10.13 and acts_as_ferret. They were working
fine before the upgrade.
#<NameError: cannot remove Object::WildcardQuery>
2006 Mar 03
6
has_one :next - invalid name?
I have this in a model:
has_one :next,
:class_name=>''WorkPart'',
:foreign_key=>''next_id''
And it causes this error:
compile error
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active_record/deprecated_associations.rb:83:
void value expression
2007 Jun 04
3
Expected ... to define (rails version 1.2.2)
Hi, I''m having a mysterious problem that occurs when I''m using Rails
1.2.2. My app works fine when the environment.rb file reads:
RAILS_GEM_VERSION = ''1.1.6''
When I change this to:
RAILS_GEM_VERSION = ''1.2.2''
and try to load http://<mydevhost>:3000/srs/, I get the following
traceback in the developer log:
Expected
2006 Jul 11
1
error when ''Booting WEBrick''
I encountered this problem yesterday so, I decided to build the whole
/app directory over but got the same thing again. what I did- I build
the MVC files for ''abc'', included abc.rb in /lib, appended
environment.rb with ''require abc'' and the service worked fine. And then
I did the same for ''xyz'' and ran the server but it failed. both abc.rb
and