N00B seeking recipe to get over hump.
I have a working app on my ubuntu 8.0.4 system using rails 2.1 and
ruby 1.8.6
I created app locally and then tried to get app working on heroku. I
followed the standard steps:
1. heroku create
2. heroku clone
3. Did my edits and testing and 'gem install rufus-scheduler'
4. git add .
5. git commit
6. git push
I then tried to run it on heroku and got the error:
MissingSourceFile in TasksController#index
no such file to load -- rufus/scheduler
I tried to install the gem using heroku and recieved a message which I
took to mean the gem was properly installed:
rufus-scheduler Installed with a white checkmark in a green
circle.
I then looked on the forum and found reference to putting in something
like
config.gem 'rufus-scheduler' :version => '1.0.11'
Into my environment.rb file, which I did and went back to my url and
got the following syntax error:
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': /mnt/home/userapps/33901/config/environment.rb:
19: syntax error, unexpected ':', expecting kEND (SyntaxError)
config.gem 'rufus-scheduler' :version => '1.0.11' ^ from /usr/local/
lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
So I commented out the config.gem statement above.
Which left me back where I started. Hence this message.
-C
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---