similar to: ruby script/plugin install ...

Displaying 20 results from an estimated 100 matches similar to: "ruby script/plugin install ..."

2013 Oct 16
1
Issue with Deploying a Rails app on VPS - cannot load such file -- unicorn/launcher
I am trying to deploy a rails application to a digitalocean VPS droplet. I have the following setup Ruby on Rails on Ubuntu 12.10 (Nginx + Unicorn). I have installed Ruby ruby-2.0.0-p247 and rails Rails 4.0.0 via rvm but when I try to restart Unicorn I get the following error. /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems /core_ext/kernel_require.rb:45:in
2013 Nov 26
2
'$ rake db:create' don't work!
Hey guys, I''m new to learning RoR and I try to do a database with mysql and I have a problem. First I create a a folder in my desktop and after with command in the terminal on Mac Os Mavericks I create a project: rails new vota_prato -d mysql after I will try to create a database with this command: $ rake db:create and I have this error: MacBook-Pro-de-Romenig:vota_prato romenig$ rake
2013 Jun 18
2
`require': cannot load such file -- nokogiri (LoadError) in rubyXL
Hi All Getting the below error when running the source code My requirement is : I want read / write the excel sheet ( both xls / xlsx ) from Ruby , if you have any other solution also share with me .. *Source Code :* * * * bash-3.2$ cat rubyXL.rb require ''rubyXL'' workbook = RubyXL::Parser.parse("test.xlsx") workbook = RubyXL::Workbook.new sheet_Name =
2013 Sep 02
1
Problem with Filling Tables.
I have an application that has models for beer styles. Every beer style will have a name and description. It will also contain a list of beer models. Every beer model will contain a name. I want my application to fill in the list of styles with some default data. #Beer migration file: class CreateBeers < ActiveRecord::Migration def change create_table :beers do |t| t.string
2013 Oct 23
9
rails generate scaffold - ERROR
Hi, I just installed ROR using the rvm using these instructions: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ Using Ubuntu 12 on VirtualBox I''m trying to create a demo_app rails generate scaffold User name:string email:string gives me this error: -- /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect'': Could not
2004 Aug 26
0
Out Dial Problem
Dear All, I just setup the Asterisk with E100P which it's no problem in Dial In but I have problem when outdial. The connection method is like this : E1 PRI <-SIGNAL-1-> MaxLink (PBX) <-SIGNAL-2-> E100P <-> Asterisk <--> SIP \-----> Analog PHone Now when I tried to dial out by SIP X-Lite on Windows, it shows me Connect, Trying,
2013 Dec 10
6
Email out of Rescue
I''m trying to set up a means to automatically send an email from certain parts of troubled code, that is, very often, code that might appear in the Rescue predicate of a begin.....rescue, so as to track down issues remotely. Surely there must be a gem for such? If not, how might one construct something like this in code? TIA, RVic -- You received this message because you are
2011 Feb 28
1
Regression with many independent variables
Hi, I am trying use lm() on some data, the code works fine but I would like to use a more efficient way to do this. The data looks like this (the data is very sparse with a few 1s, -1s and the rest 0s): > head(adj0708) MARGIN Poss P235 P247 P703 P218 P430 P489 P83 P307 P337.... 1 64.28571 29 0 0 0 0 0 0 0 0 0 0 0 0 0 2 -100.00000 6 0 0
2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here read this book or can shed light on the issue? When I run rspec i get following errors rspec spec/features/accounts/sign_up_spec.rb C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in `<top (required)>': undefined me thod `configure' for #<Dummy::Application:0x416fe08>
2014 Feb 06
0
Google Geolocation
Hi folks. Trying to get google-geo to work, but I am seeing errors. #!/usr/bin/ruby require 'Google-geo' mykey = 'blahblahblah' addy1 = '1600 Amphitheatre Parkway, Mountain View, CA' # 37.42246, -122.08394 geo = Google::Geo.new mykey res = geo.locate addy1 puts res.coordinates ...and the error:
2013 Nov 18
1
wrong number of arguements (1 for 0) on ActiveRecord::Base#send
So I''m not exactly using Rails, but just ActiveRecord. Though I felt this would be more appropriate in the Rails forum than the general Ruby forum. I''m working on an app that interacts with databases, without having a database of its own. I have a class called Modeller, and a Modeller#retrieve_model(name) method that takes a name, looks for a table matching that name, creates a
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working, and seems convoluted. Essentially, a controller method is called, and exits by rendering a partial the purpose of which is to simply clear a textbox in the view. So I am calling the partial which established the textbox -- but it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running into an ''undefined method'' when installing the dashboard. To install Puppet Open Source, I ran: > rpm -ivh
2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On Windows....RadRails never cut it. Under Aptana, it''s a terrible joke, and I''m sick of losing so much time waiting not only for this thing to initialize, but the hanging and crashing I go through is killing me. Please, someone....point me to a decent, lightweight IDE. All i want is syntax coloring.
2013 Aug 12
2
Passenger-Rack error 500: no such file to load -- rack
I have a puppetmaster running within passenger+rack. It has been running properly for almost a year and decided to stop working on the weekend. Now I''m getting the Purple "Ruby (Rack) application could not be started" screen with Error: no such file to load -- rack Application: /data1/rack/puppetmaster The backtrace is uninspiring. Snippets include:
2003 Jun 30
2
Problem with decoding number of codebooks
Hello, I'm trying to write a Vorbis decoder (just as a hobby) but I've got a problem with reading the setup header. According to the Vorbis documentation the first data that should be read after the initial 'vorbis' string is an eight bit integer which when incremented by one, contains the number of codebooks in the header. My problem is that whenever I read this number it seems
2009 Dec 12
2
View change on db field change
I have an issue whereby, say I have a button in a view......that shows one way if a boolean field in a db is true, and another way when it is false. When the value of that field in the db changes, I want the button;s state in the view to change as well. How would you guys recommend I do this? Thanks, R.Vince -- You received this message because you are subscribed to the Google Groups "Ruby
2009 Jul 29
1
Empty result set after migration
Someone sent me an app with migrations. I am using sqlite for my db in test. I succesfully run rake db:migrate RAILS_ENV=test And when I go to run this app, get "empty result set." Is tehre something I am missing here?
2013 Nov 20
0
Railties-4.0.1 - what happened to rake tmp:clear
MRI-2.0.0p247 Railties-4.0.1 We have a standalone Rails-3.2.15 based application that we are upgrading to 4.0.1. It uses only the following components of Rails-4.0.1: * actionmailer (4.0.1) * actionpack (4.0.1) * activemodel (4.0.1) * activerecord (4.0.1) * activesupport (4.0.1) * arel (4.0.1) * railties (4.0.1) Bundler has a path setting which is: path Set for your local app
2014 Feb 11
0
Error- While starting Rails Server
I have installed ruby 2.0.0p247 with rails(4.0.0) and mysql2 (0.3.15) in Windows 7 After creating a new project when i try to run the server it terminated saying that This application has requested the Runtime to terminate it in a unusual way. I also tried the same in Windows 8.1 but still same error exists -- Posted via http://www.ruby-forum.com/. -- You received this message because you